aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-05-30 03:01:07 +0000
committerGlenn Morris2008-05-30 03:01:07 +0000
commitd21d261859b4dbc7ee8c504ebf772cb645a56905 (patch)
treea38f3a9b9131bbe2e1f589558e3e0c7ef72df886
parentca8ef0dc040a0411bb30d651068530ec6a5905c4 (diff)
downloademacs-d21d261859b4dbc7ee8c504ebf772cb645a56905.tar.gz
emacs-d21d261859b4dbc7ee8c504ebf772cb645a56905.zip
(Fancy Diary Display): Update for diary-display-function replacing
diary-display-hook.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/cal-xtra.texi14
2 files changed, 13 insertions, 6 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 15831dc28bf..97bb760822c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12008-05-30 Glenn Morris <rgm@gnu.org>
2
3 * cal-xtra.texi (Fancy Diary Display): Update for
4 diary-display-function replacing diary-display-hook.
5
12008-05-29 Drew Adams <drew.adams@oracle.com> 62008-05-29 Drew Adams <drew.adams@oracle.com>
2 7
3 * msdog.texi (Windows Keyboard): Add descriptions of 8 * msdog.texi (Windows Keyboard): Add descriptions of
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi
index c0e1e62bf92..1f543f6f0a0 100644
--- a/doc/emacs/cal-xtra.texi
+++ b/doc/emacs/cal-xtra.texi
@@ -1,5 +1,6 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 2@c Copyright (C) 2004, 2005, 2006, 2007, 2008
3@c Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
4@c 5@c
5@c This file is included either in emacs-xtra.texi (when producing the 6@c This file is included either in emacs-xtra.texi (when producing the
@@ -525,18 +526,19 @@ diary entry.
525 526
526@node Fancy Diary Display 527@node Fancy Diary Display
527@subsection Fancy Diary Display 528@subsection Fancy Diary Display
528@vindex diary-display-hook 529@vindex diary-display-function
529@findex diary-simple-display 530@findex diary-simple-display
530 531
531 Diary display works by preparing the diary buffer and then running the 532 Diary display works by preparing the diary buffer and then running the
532hook @code{diary-display-hook}. The default value of this hook 533function specified by the variable @code{diary-display-function}. The
533(@code{diary-simple-display}) hides the irrelevant diary entries and 534default value (@code{diary-simple-display}) hides the irrelevant diary
534then displays the buffer. However, if you specify the hook as follows, 535entries and then displays the buffer. However, if you set the variable
536as follows,
535 537
536@cindex diary buffer 538@cindex diary buffer
537@findex diary-fancy-display 539@findex diary-fancy-display
538@example 540@example
539(add-hook 'diary-display-hook 'diary-fancy-display) 541(setq diary-display-function 'diary-fancy-display)
540@end example 542@end example
541 543
542@noindent 544@noindent