[Top][All Lists]

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

bug#15661: 24.3.50; calendar.el broken

From: Andreas Röhler
Subject: bug#15661: 24.3.50; calendar.el broken
Date: Mon, 21 Oct 2013 10:56:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0

Am 21.10.2013 09:47, schrieb Thierry Volpiatto:
Andreas Röhler <address@hidden> writes:

Am 20.10.2013 20:13, schrieb Glenn Morris:
Andreas Röhler wrote:

M-x diary-view-entries RET

fails saying:

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

Works fine here. Recipe from emacs -Q?

Yes, started from emacs -Q
Also got it from openSuse 12.3

displayed-month among others is make local-var in calendar buffer,

By the mode itself, which looks wrong, as libraries outside like diary seem to 
make use of it also.

 so if
you call the function from there (d), it will work as expected,
otherwise the var(s) is/are unknown(s).

Get this error also from

M-x diary-view-other-diary-entries RET


M-x diary-show-all-entries RET



Seeing inside calendar.el

(unless (boundp 'displayed-month) (setq displayed-month 1))

which doesn't look recommended.


(defvar displayed-month 1)

should DTRT.

reply via email to

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