[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15661: 24.3.50; calendar.el broken

From: Alan Mackenzie
Subject: bug#15661: 24.3.50; calendar.el broken
Date: Sun, 20 Oct 2013 17:52:39 +0000 (UTC)
User-agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.4-RELEASE (amd64))

Andreas R?hler <address@hidden> wrote:
> M-x diary-view-entries RET

> fails saying:

> Symbol's value as variable is void: displayed-month

> AFAIU reason is new defvar behavior, which breaks legacy code.

> calendar.el has a

> (defvar displayed-month)

> which doesn't longer intialise to nil.

I'm not sure it ever did.  At least as far back as Emacs 21, not
specifying an initial value leaves the variable unbound.

> There must be a lot of things be broken that way.

I think I agree with this, though, having fallen into this trap several
times.  ;-)

Alan Mackenzie (Nuremberg, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]