From 961721282ba26fd393f62603ee088df5d933b51c Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 23 May 2013 17:26:20 +0200 Subject: [PATCH] * lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate action. --- lisp/ChangeLog | 3 +++ lisp/textmodes/reftex.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- 2.39.2