forked from mirrors/org-mode
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
|
(when options
|
||||||
(let ((items
|
(let ((items
|
||||||
(mapcar
|
(mapcar
|
||||||
(lambda (opt)
|
#'(lambda (opt) (format "%s:%S" (car opt) (cdr opt)))
|
||||||
(format "%s:%s" (car opt) (format "%s" (cdr opt))))
|
|
||||||
(sort options (lambda (k1 k2) (string< (car k1) (car k2)))))))
|
(sort options (lambda (k1 k2) (string< (car k1) (car k2)))))))
|
||||||
(if subtreep
|
(if subtreep
|
||||||
(org-entry-put
|
(org-entry-put
|
||||||
|
|
Loading…
Reference in a new issue