Don't locally bind view-diary-entries-initially when showing the
calendar. If you do, then, for some reason,
calendar-view-diary-initially-flag gets unbound, and then org-mode will
get confused and introduce a variable-alias loop. This results in
Badness.
This bug took a little while to track down...
(setq display-time-24hr-format t)
(display-time)
(column-number-mode 1)
(setq display-time-24hr-format t)
(display-time)
(column-number-mode 1)
-(trap
- (if window-system
- (let ((view-diary-entries-initially t))
- (calendar))))
+(trap (if window-system (calendar)))
;;;--------------------------------------------------------------------------
;;; MailCrypt.
;;;--------------------------------------------------------------------------
;;; MailCrypt.