[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org df0539d678: * lisp/org.el (org-cdlatex-mode): Try t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org df0539d678: * lisp/org.el (org-cdlatex-mode): Try to load texmathp |
Date: |
Thu, 14 Sep 2023 06:58:28 -0400 (EDT) |
branch: externals/org
commit df0539d678a9b3519a1952a1f45e941a034ef30a
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/org.el (org-cdlatex-mode): Try to load texmathp
Attempt to load texmathp before setting advice. `texmathp' is
optional and must be loaded before `cdlatex'.
---
lisp/org.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/org.el b/lisp/org.el
index 006f3688bb..6b68851dd9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15553,6 +15553,10 @@ in Org mode.
\\{org-cdlatex-mode-map}"
:lighter " OCDL"
(when org-cdlatex-mode
+ ;; Try to load texmathp before cdlatex. Otherwise, cdlatex can
+ ;; bind `cdlatex--texmathp' to `ignore', not using `texmathp' at
+ ;; all.
+ (org-require-package 'texmathp "Auctex")
(org-require-package 'cdlatex)
(run-hooks 'cdlatex-mode-hook)
(cdlatex-compute-tables))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org df0539d678: * lisp/org.el (org-cdlatex-mode): Try to load texmathp,
ELPA Syncer <=