GNU bug report logs - #38866
26.1: calendar: docstring error for variable calendar-mode-line-format

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Thu, 2 Jan 2020 05:08:02 UTC

Severity: normal

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Boruch Baum <boruch_baum <at> gmx.com>
To: Emacs Bug Reporting <bug-gnu-emacs <at> gnu.org>
Subject: 26.1: calendar: docstring error for variable calendar-mode-line-format
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




This bug report was last modified 5 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.