summaryrefslogtreecommitdiff
path: root/lisp/mail/rmail.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-28 08:39:55 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-28 08:39:55 +0000
commit7b911cb2d81b73b3814a957109e29dbe8a1aab7a (patch)
treed8d31b035ffa46f6705f3eb45bc8ade3c6282ac6 /lisp/mail/rmail.el
parenta33f14f5375bab720c993f268f79ef9c4ec1fa92 (diff)
downloademacs-7b911cb2d81b73b3814a957109e29dbe8a1aab7a.tar.gz
(rmail-get-new-mail): Run rmail-before-get-new-mail-hook.
Diffstat (limited to 'lisp/mail/rmail.el')
-rw-r--r--lisp/mail/rmail.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index e26563e6ab9..61cc9938870 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -891,6 +891,7 @@ It returns t if it got any new messages."
(interactive
(list (if current-prefix-arg
(read-file-name "Get new mail from file: "))))
+ (run-hooks 'rmail-before-get-new-mail-hook)
;; If the disk file has been changed from under us,
;; revert to it before we get new mail.
(or (verify-visited-file-modtime (current-buffer))