diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-03 18:03:19 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-03 18:03:19 +0100 |
commit | b4079bb894e0b87a9331dafbfdddd5cffe9a8fb9 (patch) | |
tree | 9cd7e060a78988b90d68184428bc494a74a186b6 | |
parent | c2c301c9cc4352d4a666d6177e160207bae4c378 (diff) | |
download | org-mode-b4079bb894e0b87a9331dafbfdddd5cffe9a8fb9.tar.gz |
Activate CDLatex entry in menu only if `cdlatex' is loaded
* lisp/org.el (org-org-menu): Activate CDLatex entry in menu only if
`cdlatex' is loaded.
Fixes: 4068
-rw-r--r-- | lisp/org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index b283899..34a27e8 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -21470,8 +21470,8 @@ an argument, unconditionally call `org-insert-heading'." "--" ["Export/Publish..." org-export-dispatch t] ("LaTeX" - ["Org CDLaTeX mode" org-cdlatex-mode :style toggle - :selected org-cdlatex-mode] + ["Org CDLaTeX mode" org-cdlatex-mode :active (featurep 'cdlatex) + :style toggle :selected org-cdlatex-mode] ["Insert Environment" cdlatex-environment (fboundp 'cdlatex-environment)] ["Insert math symbol" cdlatex-math-symbol (fboundp 'cdlatex-math-symbol)] ["Modify math symbol" org-cdlatex-math-modify |