Commit e6d76715 authored by Chong Yidong's avatar Chong Yidong
Browse files

(rmail-generate-viewer-buffer): Fix typo.

parent 5ae437e9
......@@ -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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment