mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-24 10:38:41 +00:00
ox: Fix OPTIONS in default template
* lisp/ox.el (org-export-insert-default-template): Make sure strings are properly quoted when inserting a template. Specifically, default value for drawers should be d:(not "LOGBOOK"), not d:(not LOGBOOK).
This commit is contained in:
parent
d80bdb7431
commit
d7379053c0
@ -3163,8 +3163,7 @@ locally for the subtree through node properties."
|
||||
(when options
|
||||
(let ((items
|
||||
(mapcar
|
||||
(lambda (opt)
|
||||
(format "%s:%s" (car opt) (format "%s" (cdr opt))))
|
||||
#'(lambda (opt) (format "%s:%S" (car opt) (cdr opt)))
|
||||
(sort options (lambda (k1 k2) (string< (car k1) (car k2)))))))
|
||||
(if subtreep
|
||||
(org-entry-put
|
||||
|
Loading…
Reference in New Issue
Block a user