From d6942e76cf4652d8f91ec0b7f599b2d5ec4dd2ca Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 9 Jun 2024 20:56:39 +0300 Subject: [PATCH] ; * lisp/mail/rmail.el (rmail-get-new-mail-hook): Doc fix. (cherry picked from commit 778f8c793d1c621fc8219644797ef44425bf0bb4) --- lisp/mail/rmail.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index d422383acdf..2b119c7a5c7 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -462,7 +462,9 @@ as argument, to ask the user that question." "List of functions to call when Rmail is invoked.") (defvar rmail-get-new-mail-hook nil - "List of functions to call when Rmail has retrieved new mail.") + "List of functions to call when Rmail has retrieved new mail. +The functions are called in `rmail-buffer' narrowed to include +only the new email messages, with point at the first new mail.") ;;;###autoload (defcustom rmail-show-message-hook nil -- 2.39.2