From e03afa50ee6bdf0316e5eff58df3b5bfd3bd8338 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 12 Oct 2019 07:06:54 +0200 Subject: [PATCH] diary-mark-entries-hook doc string clarification * lisp/calendar/diary-lib.el (diary-mark-entries-hook): Mention dynamically bound variables (bug#9287). --- lisp/calendar/diary-lib.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index d783f11e35d..25849627cdd 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el @@ -214,7 +214,10 @@ you will probably also want to add `diary-include-other-diary-files' to This hook runs after `diary-nongregorian-marking-hook'. These two hooks differ only if you are using included diary files. In that case, `diary-nongregorian-marking-hook' runs for each file, whereas -`diary-mark-entries-hook' only runs once, for the main diary file." +`diary-mark-entries-hook' only runs once, for the main diary file. + +`displayed-year' and `displayed-month' are dynamically bound when +this hook is called." :type 'hook :options '(diary-mark-included-diary-files) :group 'diary) -- 2.39.5