From: Karl Heuer Date: Wed, 15 Apr 1998 06:31:29 +0000 (+0000) Subject: (mh-quit): mh-show-buffer can be nil. X-Git-Tag: emacs-20.3~1529 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09130c7ebf83a45716fe486477a197e812d2f099;p=emacs.git (mh-quit): mh-show-buffer can be nil. --- diff --git a/lisp/mail/mh-e.el b/lisp/mail/mh-e.el index c6fa468f4f1..0a22155a870 100644 --- a/lisp/mail/mh-e.el +++ b/lisp/mail/mh-e.el @@ -60,7 +60,7 @@ ;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. ;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu ;; Modified by Stephen Gildea 1988. gildea@lcs.mit.edu -(defconst mh-e-RCS-id "$Id: mh-e.el,v 1.17 1997/09/04 20:25:56 rms Exp rms $") +(defconst mh-e-RCS-id "$Id: mh-e.el,v 1.18 1998/03/08 00:25:49 rms Exp kwzh $") ;;; Code: @@ -438,8 +438,9 @@ configuration, if one exists. Finish by running mh-quit-hook." (mh-update-sequences) (mh-invalidate-show-buffer) (quit-window) - (if (get-buffer mh-show-buffer) - (bury-buffer mh-show-buffer)) + (and mh-show-buffer + (get-buffer mh-show-buffer) + (bury-buffer mh-show-buffer)) (if mh-previous-window-config (set-window-configuration mh-previous-window-config)) (run-hooks 'mh-quit-hook))