summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2012-09-02 03:01:56 +0530
committerJambunathan K <kjambunathan@gmail.com>2012-09-02 03:01:56 +0530
commit845daf66484bb6a9e9f3b7bcc9bf175daddee3c3 (patch)
tree4e66769ee60087a230cd0cb5a2f93934273063f7
parent90aae1e2e8112a24d998e9b6213420815646e9e2 (diff)
downloadorg-mode-845daf66484bb6a9e9f3b7bcc9bf175daddee3c3.tar.gz
org-e-odt-preferred-output-format: Make string values safe
-rw-r--r--contrib/lisp/org-e-odt.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/lisp/org-e-odt.el b/contrib/lisp/org-e-odt.el
index a9e2e56..60a417b 100644
--- a/contrib/lisp/org-e-odt.el
+++ b/contrib/lisp/org-e-odt.el
@@ -631,12 +631,14 @@ configuration."
(defcustom org-e-odt-preferred-output-format nil
"Automatically post-process to this format after exporting to \"odt\".
-Interactive commands `org-export-as-e-odt' and
-`org-export-as-e-odt-and-open' export first to \"odt\" format and
-then use `org-e-odt-convert-process' to convert the
+Command `org-e-odt-export-to-odt' exports first to \"odt\" format
+and then uses `org-e-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-e-odt-convert-capabilities'."
+`org-e-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-e-odt
:version "24.1"
:type '(choice :convert-widget
@@ -647,6 +649,8 @@ variable, the list of valid values are populated based on
,@(mapcar (lambda (c)
`(const :tag ,c ,c))
(org-e-odt-reachable-formats "odt")))))
+;;;###autoload
+(put 'org-e-odt-preferred-output-format 'safe-local-variable 'stringp)
;;;; Drawers