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:
parent
92c519507b
commit
6eca2e74f9
lisp
@ -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.
|
||||
|
||||
|
@ -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")))
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user