diff options
author | Tassilo Horn <tsdh@gnu.org> | 2013-04-23 19:07:49 +0200 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2013-04-23 19:07:49 +0200 |
commit | 6eca2e74f906392828563f900d1393534d189af8 (patch) | |
tree | 6473805ca12cc2c66a7e0150501f8a705a0acf37 /lisp/textmodes | |
parent | 92c519507b81076beac37d01dd96c2c511dff810 (diff) | |
download | emacs-6eca2e74f906392828563f900d1393534d189af8.tar.gz emacs-6eca2e74f906392828563f900d1393534d189af8.tar.bz2 emacs-6eca2e74f906392828563f900d1393534d189af8.zip |
Fix recursive load issue with reftex.el and reftex-vars.el.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/reftex-vars.el | 3 | ||||
-rw-r--r-- | lisp/textmodes/reftex.el | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index a220002286e..7343d86b06f 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -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"))) diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 8b5dee5a037..21083fd188a 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el @@ -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. |