From: Tassilo Horn Date: Thu, 23 May 2013 15:26:20 +0000 (+0200) Subject: * lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=961721282ba26fd393f62603ee088df5d933b51c;p=emacs.git * lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate action. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ad7c5e6d01..e067b0242ec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-05-23 Rüdiger Sonderfeld + * lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix + deactivate action. + * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref macros. diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 21083fd188a..7fed4d0d021 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el @@ -547,7 +547,7 @@ will deactivate it." (when (member style list) (setq reftex-tables-dirty t changed t) - (delete style list))) + (setq list (delete style list)))) (t (if (member style list) (delete style list)