commit
f3ef75107b
2 changed files with 3 additions and 2 deletions
|
@ -1040,7 +1040,7 @@ parse properties for property drawer at point."
|
|||
(property-value (match-string-no-properties 3)))
|
||||
(cond
|
||||
((and (plist-member properties property-name-symbol)
|
||||
(string-match-p "+$" property-name))
|
||||
(string-match-p "\\+$" property-name))
|
||||
(let ((val (plist-get properties property-name-symbol)))
|
||||
(if (listp val)
|
||||
(setq properties
|
||||
|
|
|
@ -593,7 +593,8 @@ COLLECTION is the plist holding data collection."
|
|||
(mapc (lambda (collection) (org-persist--add-to-index collection 'hash)) org-persist--index)
|
||||
(setq org-persist--index nil)
|
||||
(when (file-exists-p org-persist-directory)
|
||||
(dolist (file (directory-files org-persist-directory 'absolute "^[^.][^.]"))
|
||||
(dolist (file (directory-files org-persist-directory 'absolute
|
||||
"\\`[^.][^.]"))
|
||||
(if (file-directory-p file)
|
||||
(delete-directory file t)
|
||||
(delete-file file))))
|
||||
|
|
Loading…
Add table
Reference in a new issue