Subject: bug#38866: closed (Re: bug#38866: [CLOSED]: my error)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 02 Jan 2020 13:43:02 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38866: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38866
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#38866: [CLOSED]: my error
From: Eli Zaretskii <[email-masked]>
To: Boruch Baum <[email-masked]>
Cc: [email-masked]
Date: Thu, 02 Jan 2020 15:42:36 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Thu, 2 Jan 2020 00:15:14 -0500
> From: Boruch Baum <[email-masked]>
> 
> Please close and ignore this report.

Done.

You can always close a bug report by sending email to
[email-masked], where NNNN is the bug number.

Subject: 26.1: calendar: docstring error for variable calendar-mode-line-format
From: Boruch Baum <[email-masked]>
To: Emacs Bug Reporting <[email-masked]>
Date: Thu, 2 Jan 2020 00:07:24 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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