help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [missing diary-display-hook]


From: Uwe Brauer
Subject: Re: [missing diary-display-hook]
Date: Fri, 15 Jan 2016 17:42:23 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux)

>>> "GM" == Glenn Morris <rgm@gnu.org> writes:

   > Uwe Brauer wrote:
   >> (add-hook 'diary-display-hook 'sort-diary-entries)

   > Please read the fine manual; eg.

   > 
http://www.gnu.org/software/emacs/manual/html_node/emacs/Fancy-Diary-Display.html


Thanks!

You made a mayor surgery renaming variables and function in 2014. May I
ask, perhaps, for the future, that the ChangeLog suggests the new names?
It took me quite some time to figure out that the code in question
weekly-view and cal-desk-calendar work with the following simple
aliasing

; cal-desk-calendar
(defalias 'check-calendar-holidays 'calendar-check-holidays)
(defalias 'calendar-extract-year 'extract-calendar-year)
(defalias 'calendar-increment-month 'increment-calendar-month)

; variables
(defvaralias 'holidays-in-diary-buffer 'diary-show-holidays-flag)
(defvaralias 'fancy-diary-buffer  'diary-fancy-buffer)
(defvaralias 'hebrew-holidays 'holiday-hebrew-holidays)

; the same for weekly-view.el

(defvaralias 'diary-display-hook 'diary-display-function)





reply via email to

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