From 8a0abc4dc24d90afb6179ec7f625ccf2d1491f93 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Sat, 1 Sep 2012 23:59:21 +0530 Subject: [PATCH] org-export-odt-preferred-output-format: Mark string values as safe --- lisp/org-odt.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/org-odt.el b/lisp/org-odt.el index bc5bf73ba..c80821fb7 100644 --- a/lisp/org-odt.el +++ b/lisp/org-odt.el @@ -414,7 +414,10 @@ Interactive commands `org-export-as-odt' and then use `org-export-odt-convert-process' to convert the resulting document to this format. During customization of this variable, the list of valid values are populated based on -`org-export-odt-convert-capabilities'." +`org-export-odt-convert-capabilities'. + +You can set this option on per-file basis using file local +values. See Info node `(emacs) File Variables'." :group 'org-export-odt :version "24.1" :type '(choice :convert-widget @@ -425,6 +428,8 @@ variable, the list of valid values are populated based on ,@(mapcar (lambda (c) `(const :tag ,c ,c)) (org-lparse-reachable-formats "odt"))))) +;;;###autoload +(put 'org-export-odt-preferred-output-format 'safe-local-variable 'stringp) (defmacro org-odt-cleanup-xml-buffers (&rest body) `(let ((org-odt-zip-dir