From: Andreas Schwab <schwab@suse.de>
To: ding@gnus.org
Subject: Re: Error in `mail-source-bind' when fetching mail
Date: Mon, 28 Apr 2008 12:28:13 +0200 [thread overview]
Message-ID: <m27iei2s02.fsf@igel.home> (raw)
In-Reply-To: <m24p9oiy2o.fsf@lifelogs.com>
Ted Zlatanov <tzz@lifelogs.com> writes:
> I made a fix that should do the right thing; it may be
> better to do it with macro facilities but I wanted to get the fix out
> ASAP and I did it the simplest way possible (with boundp, symbol-value,
> and unintern).
The use of unintern is broken. You want makunbound instead.
Andreas.
2008-04-28 Andreas Schwab <schwab@suse.de>
* mail-source.el (mail-source-bind): Use makunbound instead of
unintern.
--- lisp/mail-source.el.~7.35.~ 2008-04-28 11:49:11.000000000 +0200
+++ lisp/mail-source.el 2008-04-28 12:21:22.000000000 +0200
@@ -466,9 +466,9 @@ the `mail-source-keyword-map' variable."
',(car type-source))
(when (boundp 'password) (symbol-value 'password)))))
(unless user
- (unintern 'user))
+ (makunbound 'user))
(unless password
- (unintern 'password))
+ (makunbound 'password))
,@body)))
(put 'mail-source-bind 'lisp-indent-function 1)
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2008-04-28 10:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <874p9pqhnj.fsf@ID-24456.user.uni-berlin.de>
2008-04-26 12:45 ` Ted Zlatanov
2008-04-26 16:43 ` Christoph Conrad
2008-04-28 10:11 ` Andreas Schwab
2008-04-28 10:28 ` Andreas Schwab [this message]
2008-04-28 16:53 ` Ted Zlatanov
2008-04-29 3:26 ` Cezar Halmagean
2008-04-30 14:30 ` Ted Zlatanov
2009-02-20 12:11 ` Reiner Steib
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27iei2s02.fsf@igel.home \
--to=schwab@suse.de \
--cc=ding@gnus.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.
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 NNTP newsgroup(s).