changeset 95435:dc334bd99af3

(Fancy Diary Display): Simplify.
author Glenn Morris <rgm@gnu.org>
date Sat, 31 May 2008 02:31:04 +0000
parents a27eb04b8dc4
children 11ba87b3debf
files doc/emacs/cal-xtra.texi
diffstat 1 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/cal-xtra.texi	Sat May 31 02:29:58 2008 +0000
+++ b/doc/emacs/cal-xtra.texi	Sat May 31 02:31:04 2008 +0000
@@ -528,25 +528,18 @@
 @subsection Fancy Diary Display
 @vindex diary-display-function
 @findex diary-simple-display
+@findex diary-fancy-display
+@cindex diary buffer
 
   Diary display works by preparing the diary buffer and then running the
 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
-(setq diary-display-function 'diary-fancy-display)
-@end example
-
-@noindent
-this enables fancy diary display.  It displays diary entries and
-holidays by copying them into a special buffer that exists only for the
-sake of display.  Copying to a separate buffer provides an opportunity
-to change the displayed text to make it prettier---for example, to sort
-the entries by the dates they apply to.
+entries and then displays the buffer.  The alternative
+@code{diary-fancy-display} displays diary entries and holidays by
+copying them into a special buffer that exists only for the sake of
+display.  Copying to a separate buffer provides an opportunity to change
+the displayed text to make it prettier---for example, to sort the
+entries by the dates they apply to.
 
   As with simple diary display, you can print a hard copy of the buffer
 with @code{diary-print-entries}.  To print a hard copy of a day-by-day