emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/doc/emacs/cal-xtra.texi,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/doc/emacs/cal-xtra.texi,v
Date: Fri, 30 May 2008 03:01:00 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/05/30 03:01:00

Index: cal-xtra.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/emacs/cal-xtra.texi,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- cal-xtra.texi       29 Apr 2008 03:40:29 -0000      1.5
+++ cal-xtra.texi       30 May 2008 03:01:00 -0000      1.6
@@ -1,5 +1,6 @@
 @c This is part of the Emacs manual.
address@hidden Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software 
Foundation, Inc.
address@hidden Copyright (C) 2004, 2005, 2006, 2007, 2008
address@hidden   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 @@
 
 @node Fancy Diary Display
 @subsection Fancy Diary Display
address@hidden diary-display-hook
address@hidden 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




reply via email to

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