mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
(calendar-move-hook): New hook.
This commit is contained in:
parent
7ba7b7947a
commit
5c9705e5a9
@ -337,6 +337,18 @@ functions that move by days and weeks."
|
||||
:type 'hook
|
||||
:group 'calendar-hooks)
|
||||
|
||||
;;;###autoload
|
||||
(defcustom calendar-move-hook nil
|
||||
"*List of functions called whenever the cursor moves in the calendar.
|
||||
|
||||
For example,
|
||||
|
||||
(add-hook 'calendar-move-hook (lambda () (view-diary-entries 1)))
|
||||
|
||||
redisplays the diary for whatever date the cursor is moved to."
|
||||
:type 'hook
|
||||
:group 'calendar-hooks)
|
||||
|
||||
;;;###autoload
|
||||
(defcustom diary-file "~/diary"
|
||||
"*Name of the file in which one's personal diary of dates is kept.
|
||||
|
Loading…
Reference in New Issue
Block a user