mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-22 08:10:43 +00:00
Make sure cdlatex customization is taken into account properly
* lisp/org.el (org-cdlatex-mode): Run cdlatex-mode-hook and update the internal cdlatex tables.
This commit is contained in:
parent
35d924cc80
commit
d622d2f709
|
@ -16381,7 +16381,10 @@ This mode supports entering LaTeX environment and math in LaTeX fragments
|
|||
in Org-mode.
|
||||
\\{org-cdlatex-mode-map}"
|
||||
nil " OCDL" nil
|
||||
(when org-cdlatex-mode (require 'cdlatex))
|
||||
(when org-cdlatex-mode
|
||||
(require 'cdlatex)
|
||||
(run-hooks 'cdlatex-mode-hook)
|
||||
(cdlatex-compute-tables))
|
||||
(unless org-cdlatex-texmathp-advice-is-done
|
||||
(setq org-cdlatex-texmathp-advice-is-done t)
|
||||
(defadvice texmathp (around org-math-always-on activate)
|
||||
|
|
Loading…
Reference in a new issue