1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00

Fix recursive load issue with reftex.el and reftex-vars.el.

This commit is contained in:
Tassilo Horn 2013-04-23 19:07:49 +02:00
parent 92c519507b
commit 6eca2e74f9
3 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,5 @@
2013-04-23 Tassilo Horn <tsdh@gnu.org>
* textmodes/reftex.el (reftex-compile-variables): Add autoload
cookie.
* textmodes/reftex-vars.el (reftex-label-regexps): Call
`reftex-compile-variables' after changes to this variable.

View File

@ -880,7 +880,8 @@ When changed from Lisp, make sure to call
effective."
:set (lambda (symbol value)
(set symbol value)
(reftex-compile-variables))
(when (fboundp 'reftex-compile-variables)
(reftex-compile-variables)))
:group 'reftex-defining-label-environments
:type '(repeat (regexp :tag "Regular Expression")))

View File

@ -811,7 +811,6 @@ This enforces rescanning the buffer on next use."
(reftex-kill-buffer (reftex-make-index-buffer-name tag)))
(cdr (assoc 'index-tags (symbol-value reftex-docstruct-symbol)))))
;;;###autoload
(defun reftex-compile-variables ()
;; Compile the information in reftex-label-alist & Co.