Merge branch 'maint'

This commit is contained in:
Marco Wahl 2017-11-10 19:40:15 +01:00
commit 44189a72d5
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ This can be used after files have been added externally."
(let ((attach-dir (org-attach-dir)))
(when attach-dir
(let ((files (org-attach-file-list attach-dir)))
(and files (org-attach-tag))
(org-attach-tag (not files))
(when org-attach-file-list-property
(dolist (file files)
(unless (string-match "^\\.\\.?\\'" file)