From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: auctex-devel@gnu.org
Cc: emacs-devel@gnu.org
Subject: [PATCH 3/3] RefTeX: Fix reftex-ref-style-toggle not properly deactivating.
Date: Wed, 15 May 2013 20:10:39 +0200 [thread overview]
Message-ID: <4477958.4yajOXnssD@descartes> (raw)
See documentation of `delete':
Write `(setq foo (delete element foo))' to be sure of correctly
changing the value of a sequence `foo'.
* lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate
action.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
---
lisp/textmodes/reftex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index 21083fd..7fed4d0 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)
--
1.8.2.3
_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel
next reply other threads:[~2013-05-15 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 18:10 Rüdiger Sonderfeld [this message]
2013-05-23 15:39 ` [PATCH 3/3] RefTeX: Fix reftex-ref-style-toggle not properly deactivating Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4477958.4yajOXnssD@descartes \
--to=ruediger@c-plusplus.de \
--cc=auctex-devel@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).