]> git.eshelyaron.com Git - emacs.git/commitdiff
diary-mark-entries-hook doc string clarification
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Oct 2019 05:06:54 +0000 (07:06 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 12 Oct 2019 05:06:54 +0000 (07:06 +0200)
* lisp/calendar/diary-lib.el (diary-mark-entries-hook): Mention
dynamically bound variables (bug#9287).

lisp/calendar/diary-lib.el

index d783f11e35d8fbd34393807be5f3a33bca1f4bdf..25849627cdd8fb4415568a2d504db1c702905725 100644 (file)
@@ -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)