Subject: bug#38866: 26.1: calendar: docstring error for variable calendar-mode-line-format

From: Boruch Baum <[email-masked]>
Date: Thu, 2 Jan 2020 00:07:24 -0500

The docstring for variable calendar-mode-line-format makes incorrect
claims about the availability of a symbol `date`. It says,

 "...
  During evaluation, the variable `date' is available as the date
  ...
  Here is an example
  ...
  (list
   \"\"
   \\='(calendar-hebrew-date-string date)
   \\='(let* ((year (calendar-extract-year date))
  ...
 "

However, when I try to use that feature, emacs responds

  list: Symbol’s value as variable is void: date

The functions do seem to work without the `date` argument.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0