summaryrefslogtreecommitdiff
path: root/lisp/calendar/diary-lib.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-12 07:06:54 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-12 07:06:54 +0200
commite03afa50ee6bdf0316e5eff58df3b5bfd3bd8338 (patch)
tree0377d191bc3b4cbb0d4c0a3131acdcc56d884cf1 /lisp/calendar/diary-lib.el
parentadb9dc4bff72c390175ddb97f8cc72afee9ee589 (diff)
downloademacs-e03afa50ee6bdf0316e5eff58df3b5bfd3bd8338.tar.gz
emacs-e03afa50ee6bdf0316e5eff58df3b5bfd3bd8338.tar.bz2
emacs-e03afa50ee6bdf0316e5eff58df3b5bfd3bd8338.zip
diary-mark-entries-hook doc string clarification
* lisp/calendar/diary-lib.el (diary-mark-entries-hook): Mention dynamically bound variables (bug#9287).
Diffstat (limited to 'lisp/calendar/diary-lib.el')
-rw-r--r--lisp/calendar/diary-lib.el5
1 files changed, 4 insertions, 1 deletions
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)