diff options
| author | Glenn Morris | 2008-05-31 02:31:12 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-05-31 02:31:12 +0000 |
| commit | daf7e339db09be6f95f87d774830b759a0386c52 (patch) | |
| tree | dfbdcb32fc9ad5abf26ad802401718742ba88207 | |
| parent | 719b3d63d338d1b31e042ca1c8fad8b3d402c78d (diff) | |
| download | emacs-daf7e339db09be6f95f87d774830b759a0386c52.tar.gz emacs-daf7e339db09be6f95f87d774830b759a0386c52.zip | |
(Fancy Diary Display): Simplify.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/cal-xtra.texi | 23 |
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 @@ | |||
| 1 | 2008-05-31 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * cal-xtra.texi (Fancy Diary Display): Simplify. | ||
| 4 | |||
| 1 | 2008-05-30 Glenn Morris <rgm@gnu.org> | 5 | 2008-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 |
| 533 | function specified by the variable @code{diary-display-function}. The | 535 | function specified by the variable @code{diary-display-function}. The |
| 534 | default value (@code{diary-simple-display}) hides the irrelevant diary | 536 | default value (@code{diary-simple-display}) hides the irrelevant diary |
| 535 | entries and then displays the buffer. However, if you set the variable | 537 | entries and then displays the buffer. The alternative |
| 536 | as follows, | 538 | @code{diary-fancy-display} displays diary entries and holidays by |
| 537 | 539 | copying them into a special buffer that exists only for the sake of | |
| 538 | @cindex diary buffer | 540 | display. Copying to a separate buffer provides an opportunity to change |
| 539 | @findex diary-fancy-display | 541 | the displayed text to make it prettier---for example, to sort the |
| 540 | @example | 542 | entries by the dates they apply to. |
| 541 | (setq diary-display-function 'diary-fancy-display) | ||
| 542 | @end example | ||
| 543 | |||
| 544 | @noindent | ||
| 545 | this enables fancy diary display. It displays diary entries and | ||
| 546 | holidays by copying them into a special buffer that exists only for the | ||
| 547 | sake of display. Copying to a separate buffer provides an opportunity | ||
| 548 | to change the displayed text to make it prettier---for example, to sort | ||
| 549 | the 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 |
| 552 | with @code{diary-print-entries}. To print a hard copy of a day-by-day | 545 | with @code{diary-print-entries}. To print a hard copy of a day-by-day |