From 92c3b76dd8856265a2efd75540fcf7e7e79c596a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 28 Feb 2019 19:39:39 +0100 Subject: [PATCH] ox: Insert templates with lower case keywords * lisp/ox.el (org-export-insert-default-template): Insert lower case keywords. --- lisp/ox.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index d2d30ad2f..73eec2fca 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -3216,7 +3216,7 @@ locally for the subtree through node properties." (org-entry-put node "EXPORT_OPTIONS" (mapconcat 'identity items " ")) (while items - (insert "#+OPTIONS:") + (insert "#+options:") (let ((width 10)) (while (and items (< (+ width (length (car items)) 1) fill-column)) @@ -3242,7 +3242,7 @@ locally for the subtree through node properties." (if subtreep (org-entry-put node (concat "EXPORT_" (car key)) val) (insert (format "#+%s:%s\n" - (car key) + (downcase (car key)) (if (org-string-nw-p val) (format " %s" val) "")))))))) (defun org-export-expand-include-keyword (&optional included dir footnotes)