aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-05-31 02:31:12 +0000
committerGlenn Morris2008-05-31 02:31:12 +0000
commitdaf7e339db09be6f95f87d774830b759a0386c52 (patch)
treedfbdcb32fc9ad5abf26ad802401718742ba88207
parent719b3d63d338d1b31e042ca1c8fad8b3d402c78d (diff)
downloademacs-daf7e339db09be6f95f87d774830b759a0386c52.tar.gz
emacs-daf7e339db09be6f95f87d774830b759a0386c52.zip
(Fancy Diary Display): Simplify.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/cal-xtra.texi23
2 files changed, 12 insertions, 15 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 97bb760822c..3fa435b8db8 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12008-05-31 Glenn Morris <rgm@gnu.org>
2
3 * cal-xtra.texi (Fancy Diary Display): Simplify.
4
12008-05-30 Glenn Morris <rgm@gnu.org> 52008-05-30 Glenn Morris <rgm@gnu.org>
2 6
3 * cal-xtra.texi (Fancy Diary Display): Update for 7 * cal-xtra.texi (Fancy Diary Display): Update for
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi
index 1f543f6f0a0..1d472cdacff 100644
--- a/doc/emacs/cal-xtra.texi
+++ b/doc/emacs/cal-xtra.texi
@@ -528,25 +528,18 @@ diary entry.
528@subsection Fancy Diary Display 528@subsection Fancy Diary Display
529@vindex diary-display-function 529@vindex diary-display-function
530@findex diary-simple-display 530@findex diary-simple-display
531@findex diary-fancy-display
532@cindex diary buffer
531 533
532 Diary display works by preparing the diary buffer and then running the 534 Diary display works by preparing the diary buffer and then running the
533function specified by the variable @code{diary-display-function}. The 535function specified by the variable @code{diary-display-function}. The
534default value (@code{diary-simple-display}) hides the irrelevant diary 536default value (@code{diary-simple-display}) hides the irrelevant diary
535entries and then displays the buffer. However, if you set the variable 537entries and then displays the buffer. The alternative
536as follows, 538@code{diary-fancy-display} displays diary entries and holidays by
537 539copying them into a special buffer that exists only for the sake of
538@cindex diary buffer 540display. Copying to a separate buffer provides an opportunity to change
539@findex diary-fancy-display 541the displayed text to make it prettier---for example, to sort the
540@example 542entries by the dates they apply to.
541(setq diary-display-function 'diary-fancy-display)
542@end example
543
544@noindent
545this enables fancy diary display. It displays diary entries and
546holidays by copying them into a special buffer that exists only for the
547sake of display. Copying to a separate buffer provides an opportunity
548to change the displayed text to make it prettier---for example, to sort
549the entries by the dates they apply to.
550 543
551 As with simple diary display, you can print a hard copy of the buffer 544 As with simple diary display, you can print a hard copy of the buffer
552with @code{diary-print-entries}. To print a hard copy of a day-by-day 545with @code{diary-print-entries}. To print a hard copy of a day-by-day