Commit d21d2618 authored by Glenn Morris's avatar Glenn Morris
Browse files

(Fancy Diary Display): Update for diary-display-function replacing

diary-display-hook.
parent ca8ef0dc
2008-05-30 Glenn Morris <rgm@gnu.org>
* cal-xtra.texi (Fancy Diary Display): Update for
diary-display-function replacing diary-display-hook.
2008-05-29 Drew Adams <drew.adams@oracle.com>
* msdog.texi (Windows Keyboard): Add descriptions of
......
@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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment