Sfoglia il codice sorgente

Merge branch 'maint'

Nicolas Goaziou 7 anni fa
parent
commit
a0e3f1d505
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -21178,7 +21178,7 @@ an argument, unconditionally call `org-insert-heading'."
     "--"
     ["Export/Publish..." org-export-dispatch t]
     ("LaTeX"
-     ["Org CDLaTeX mode" org-cdlatex-mode :active (featurep 'cdlatex)
+     ["Org CDLaTeX mode" org-cdlatex-mode :active (require 'cdlatex nil t)
       :style toggle :selected org-cdlatex-mode]
      ["Insert Environment" cdlatex-environment (fboundp 'cdlatex-environment)]
      ["Insert math symbol" cdlatex-math-symbol (fboundp 'cdlatex-math-symbol)]