branch: elpa/cdlatex commit 55299f20e84bd9dd01d23eb8aa5ed6841410cd9b Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Require auctex for texmathp If not installed, byte-compilation fails, confusing the user with a non-obvious error message. --- cdlatex.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdlatex.el b/cdlatex.el index 2bea2391ac..f76c03c393 100644 --- a/cdlatex.el +++ b/cdlatex.el @@ -4,6 +4,7 @@ ;; Author: Carsten Dominik <carsten.domi...@gmail.com> ;; Keywords: tex ;; Version: 4.11 +;; Package-Requires: ((auctex "9.9")) ;; ;; This file is not part of GNU Emacs. ;; @@ -318,6 +319,7 @@ ;;; Code: (eval-when-compile (require 'cl-lib)) +(require 'texmathp) ;;; Begin of Configuration Section ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -604,8 +606,6 @@ automatic help when idle for more than this amount of time." :group 'cdlatex-miscellaneous-configurations :type 'number) -(require 'texmathp) - ;;;============================================================================ ;;; ;;; Define the formal stuff for a minor mode named CDLaTeX.