72 |
(doctex-mode . tex-mode)) |
(doctex-mode . tex-mode)) |
73 |
"Alist of built-in TeX modes and their load files.") |
"Alist of built-in TeX modes and their load files.") |
74 |
|
|
75 |
|
(defalias 'TeX-load-hack 'ignore) |
76 |
|
|
77 |
(defun TeX-modes-set (var value &optional update) |
(defun TeX-modes-set (var value &optional update) |
78 |
"Set VAR (which should be `TeX-modes') to VALUE. |
"Set VAR (which should be `TeX-modes') to VALUE. |
79 |
|
|
115 |
(defconst AUCTeX-date "@AUCTEXDATE@" |
(defconst AUCTeX-date "@AUCTEXDATE@" |
116 |
"AUCTeX release date using the ISO 8601 format, yyyy-mm-dd.") |
"AUCTeX release date using the ISO 8601 format, yyyy-mm-dd.") |
117 |
|
|
|
(defmacro TeX-doc () |
|
|
"This macro is used _before_ following autoloaded definitions. |
|
|
It will format the doc string of the next form to include AUCTeX |
|
|
version info in %s." |
|
|
(let ((form (read (current-buffer)))) |
|
|
(if (stringp (nth 3 form)) |
|
|
(setcar (nthcdr 3 form) |
|
|
(format (nth 3 form) |
|
|
(format "AUCTeX %s" AUCTeX-version)))) |
|
|
form)) |
|
|
|
|