Quote \[cmd] in docstring of org-export-with-LaTeX-fragments
commit81bac18755a1452822a68f2dfdd30ccd9f111965
authorLawrence Mitchell <wence@gmx.li>
Thu, 20 Jan 2011 18:13:46 +0000 (20 18:13 +0000)
committerBastien Guerry <bzg@altern.org>
Wed, 26 Jan 2011 18:07:31 +0000 (26 19:07 +0100)
tree78290dd3ffe8a34229d4928088d919ada3b50b5f
parent76241dd1926747b1b32f91326875471918761876
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 \\=.
lisp/org-exp.el