|
From: | Glenn Morris |
Subject: | Re: other-holidays can have dates far away and mark holidays fails |
Date: | Wed, 10 May 2006 02:57:52 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
"Miguel V. S. Frasson" wrote: > emacs -Q --eval \ > "(progn \ > (setq debug-on-error t) \ > (setq other-holidays '('((( 2 27 2006) \"Emacs bug\")))))" This is not a bug, because you should be using: emacs -Q --eval "(progn \ (setq debug-on-error t) \ (setq other-holidays '((holiday-fixed 2 27 \"No bug\"))))" as per the examples in the doc string of `calendar-holidays'. You can't just add constant dates to the holiday lists - you need to use functions that return nil when the relevant date is outside the visible range of the calendar. holiday-fixed is the appropriate one for a constant date.
[Prev in Thread] | Current Thread | [Next in Thread] |