diff options
author | Glenn Morris <rgm@gnu.org> | 2008-05-30 03:01:07 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-05-30 03:01:07 +0000 |
commit | d21d261859b4dbc7ee8c504ebf772cb645a56905 (patch) | |
tree | a38f3a9b9131bbe2e1f589558e3e0c7ef72df886 /doc/emacs/cal-xtra.texi | |
parent | ca8ef0dc040a0411bb30d651068530ec6a5905c4 (diff) | |
download | emacs-d21d261859b4dbc7ee8c504ebf772cb645a56905.tar.gz |
(Fancy Diary Display): Update for diary-display-function replacing
diary-display-hook.
Diffstat (limited to 'doc/emacs/cal-xtra.texi')
-rw-r--r-- | doc/emacs/cal-xtra.texi | 14 |
1 files changed, 8 insertions, 6 deletions
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 @@ @c This is part of the Emacs manual. -@c Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +@c Copyright (C) 2004, 2005, 2006, 2007, 2008 +@c Free Software Foundation, Inc. @c See file emacs.texi for copying conditions. @c @c This file is included either in emacs-xtra.texi (when producing the @@ -525,18 +526,19 @@ diary entry. @node Fancy Diary Display @subsection Fancy Diary Display -@vindex diary-display-hook +@vindex diary-display-function @findex diary-simple-display Diary display works by preparing the diary buffer and then running the -hook @code{diary-display-hook}. The default value of this hook -(@code{diary-simple-display}) hides the irrelevant diary entries and -then displays the buffer. However, if you specify the hook as follows, +function specified by the variable @code{diary-display-function}. The +default value (@code{diary-simple-display}) hides the irrelevant diary +entries and then displays the buffer. However, if you set the variable +as follows, @cindex diary buffer @findex diary-fancy-display @example -(add-hook 'diary-display-hook 'diary-fancy-display) +(setq diary-display-function 'diary-fancy-display) @end example @noindent |