From e6d76715ebd176edbfd9dcdf9b80cdc8b9df3bf3 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 23 Jan 2009 15:10:16 +0000 Subject: [PATCH] (rmail-generate-viewer-buffer): Fix typo. --- lisp/mail/rmail.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index d935f8f0043..dac06441f6d 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1279,8 +1279,8 @@ Create the buffer if necessary." (let* ((suffix (file-name-nondirectory (or buffer-file-name (buffer-name)))) (name (format " *message-viewer %s*" suffix)) (buf (get-buffer name))) - (unless buf - (generate-new-buffer name)))) + (or buf + (generate-new-buffer name)))) (defun rmail-change-major-mode-hook () ;; Bring the actual Rmail messages back into the main buffer. -- 2.39.2