* lisp/calendar/diary-lib.el (diary-mark-entries-hook): Mention
dynamically bound variables (bug#9287).
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)