Mercurial > emacs
changeset 101408:ffa1ec11b74f
(rmail-generate-viewer-buffer): Fix typo.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 23 Jan 2009 15:10:16 +0000 |
parents | ea0eb554de8c |
children | fcf22206598b |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Fri Jan 23 15:09:16 2009 +0000 +++ b/lisp/mail/rmail.el Fri Jan 23 15:10:16 2009 +0000 @@ -1279,8 +1279,8 @@ (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.