(Fancy Diary Display): Simplify.

This commit is contained in:
Glenn Morris 2008-05-31 02:31:12 +00:00
parent 719b3d63d3
commit daf7e339db
2 changed files with 12 additions and 15 deletions

View file

@ -1,3 +1,7 @@
2008-05-31 Glenn Morris <rgm@gnu.org>
* cal-xtra.texi (Fancy Diary Display): Simplify.
2008-05-30 Glenn Morris <rgm@gnu.org>
* cal-xtra.texi (Fancy Diary Display): Update for

View file

@ -528,25 +528,18 @@ diary entry.
@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