summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Mitchell <wence@gmx.li>2011-01-20 18:13:46 +0000
committerBastien Guerry <bzg@altern.org>2011-01-26 19:07:31 +0100
commit81bac18755a1452822a68f2dfdd30ccd9f111965 (patch)
tree78290dd3ffe8a34229d4928088d919ada3b50b5f
parent76241dd1926747b1b32f91326875471918761876 (diff)
downloadorg-mode-81bac18755a1452822a68f2dfdd30ccd9f111965.tar.gz
Quote \[cmd] in docstring of org-export-with-LaTeX-fragments
* org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so that \\[ a = b \\] is not interpreted as a keybinding by `substitute-command-keys'. In a docstring \\[text] is used to indicate that text should be interpreted by `substitute-command-keys'. To avoid this interpretation, we need to prefix it with \\=.
-rw-r--r--lisp/org-exp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index e84a7c2..a055bac 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -475,8 +475,8 @@ This option can also be set with the +OPTIONS line, e.g. \"TeX:nil\"."
"Non-nil means process LaTeX math fragments for HTML display.
When set, the exporter will find and process LaTeX environments if the
\\begin line is the first non-white thing on a line. It will also find
-and process the math delimiters like $a=b$ and \\( a=b \\) for inline math,
-$$a=b$$ and \\[ a=b \\] for display math.
+and process the math delimiters like $a=b$ and \\( a=b \\) for inline math,
+$$a=b$$ and \\=\\[ a=b \\] for display math.
This option can also be set with the +OPTIONS line, e.g. \"LaTeX:mathjax\".