forked from mirrors/org-mode
org.el: Ensure `org-drawers' doesn't contain duplicates.
* org.el (org-set-regexps-and-options): Ensure `org-drawers' doesn't contain duplicates. Thanks to Achim Gratz for spotting this problem.
This commit is contained in:
parent
1c8eb5cc96
commit
9706566dbd
|
@ -4547,7 +4547,7 @@ but the stars and the body are.")
|
|||
(mapcar (lambda (x) (org-split-string x ":"))
|
||||
(org-split-string value)))))))
|
||||
((equal key "DRAWERS")
|
||||
(setq drawers (append org-drawers (org-split-string value splitre))))
|
||||
(setq drawers (delete-dups (append org-drawers (org-split-string value splitre)))))
|
||||
((equal key "CONSTANTS")
|
||||
(setq const (append const (org-split-string value splitre))))
|
||||
((equal key "STARTUP")
|
||||
|
|
Loading…
Reference in New Issue