Commit 5e1b5cde authored by Chong Yidong's avatar Chong Yidong
Browse files

(pmail): Ensure that pmail-mode-hook is run.

parent 8eb5f33c
......@@ -875,6 +875,8 @@ If `pmail-display-summary' is non-nil, make a summary for this PMAIL file."
(if (eq major-mode 'pmail-edit-mode)
(error "Exit Pmail Edit mode before getting new mail"))
(or (and existed (> (buffer-size) 0))
(setq run-mail-hook t))
;; Insure that the Rmail file is in mbox format, the buffer is in
;; Pmail mode and has been scanned to find all the messages
;; (setting the global message variables in the process).
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