[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25040: 24.5; setting mail-interactive to nil causes error while send
From: |
npostavs |
Subject: |
bug#25040: 24.5; setting mail-interactive to nil causes error while sending |
Date: |
Sun, 27 Nov 2016 10:16:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
unarchive 20211
forcemerge 20211 25040
quit
Francesco Potortì <pot@gnu.org> writes:
>
> I was too hasty, sorry about that. Anyway, the problem exists, but it
> is different from what I have told. 0 can be put back there.
>
> Apparently this change at the end of the functions fixes the bug:
>
> 1302,1305c1302,1305
> < (if (and (bufferp errbuf)
> < (not error))
> < (kill-buffer errbuf)
> < (switch-to-buffer-other-window errbuf)))))
> ---
>> (when (bufferp errbuf)
>> (if (not error)
>> (kill-buffer errbuf)
>> (switch-to-buffer-other-window errbuf))))))
Ah, this was fixed in 25.1, where the function ends with
(when (buffer-live-p errbuf)
(if error
(switch-to-buffer-other-window errbuf)
(kill-buffer errbuf)))