mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 20:32:00 -08:00
In sendmail-send-it don't switch to non-existent buffer. (Bug#20211)
* mail/sendmail.el (sendmail-send-it): Do not attempt to switch to non-existent buffer (errbuf is not created when customization variable mail-interactive is nil). (Bug#20211)
This commit is contained in:
parent
d16fb74091
commit
d9eff02736
2 changed files with 10 additions and 4 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change)
|
||||
|
||||
* mail/sendmail.el (sendmail-send-it): Do not attempt to switch
|
||||
to non-existent buffer (errbuf is not created when customization
|
||||
variable mail-interactive is nil). (Bug#20211)
|
||||
|
||||
2015-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* emacs-lisp/smie.el (smie-backward-sexp-command)
|
||||
|
|
|
|||
|
|
@ -1299,10 +1299,10 @@ external program defined by `sendmail-program'."
|
|||
(error "Sending...failed to %s"
|
||||
(buffer-substring (point-min) (point-max)))))))
|
||||
(kill-buffer tembuf)
|
||||
(if (and (bufferp errbuf)
|
||||
(not error))
|
||||
(kill-buffer errbuf)
|
||||
(switch-to-buffer-other-window errbuf)))))
|
||||
(when (buffer-live-p errbuf)
|
||||
(if error
|
||||
(switch-to-buffer-other-window errbuf)
|
||||
(kill-buffer errbuf))))))
|
||||
|
||||
(autoload 'rmail-output-to-rmail-buffer "rmailout")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue