diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-06-25 08:35:25 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2013-06-25 08:35:25 +0200 |
commit | b4f90c687d647e401e59e0dba88042d410105e51 (patch) | |
tree | a2531388e166660138bb2b0db93eb2ed493e3927 | |
parent | b4fb00a21a8a334066deb0fb9196568b54f4ef12 (diff) | |
download | org-mode-b4f90c687d647e401e59e0dba88042d410105e51.tar.gz |
ox-odt: Allow to turn smart quotes off
* lisp/ox-odt.el (org-odt-plain-text): Allow to turn smart quotes off.
Patch suggested by Georg Lehner.
-rw-r--r-- | lisp/ox-odt.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 7e1390e..a2a28f8 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -2966,7 +2966,8 @@ contextual information." (setq output (org-odt--encode-plain-text output t)) ;; Handle smart quotes. Be sure to provide original string since ;; OUTPUT may have been modified. - (setq output (org-export-activate-smart-quotes output :utf-8 info text)) + (when (plist-get info :with-smart-quotes) + (setq output (org-export-activate-smart-quotes output :utf-8 info text))) ;; Convert special strings. (when (plist-get info :with-special-strings) (mapc |