Variable: diary-display-function

diary-display-function is a customizable variable defined in diary-lib.el.gz.

Value

diary-fancy-display

Documentation

Function used to display the diary.

The two standard options are diary-fancy-display and diary-simple-display.

When this function is called, the variable diary-entries-list is a list, in order by date, of all relevant diary entries in the form of ((MONTH DAY YEAR) STRING), where string is the diary entry for the given date. This can be used, for example, to produce a different buffer for display (perhaps combined with holidays), or hard copy output.

This variable was added, or its default value changed, in Emacs 23.2.

View in manual

Probably introduced at or before Emacs version 23.2.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defcustom diary-display-function #'diary-fancy-display
  "Function used to display the diary.
The two standard options are `diary-fancy-display' and `diary-simple-display'.

When this function is called, the variable `diary-entries-list'
is a list, in order by date, of all relevant diary entries in the
form of ((MONTH DAY YEAR) STRING), where string is the diary
entry for the given date.  This can be used, for example, to
produce a different buffer for display (perhaps combined with
holidays), or hard copy output."
  :type '(choice (const :tag "Fancy display" diary-fancy-display)
                 (const :tag "Basic display" diary-simple-display)
                 (const :tag "No display" ignore)
                 (function :tag "User-specified function"))
  :initialize 'custom-initialize-default
  :set 'diary-set-maybe-redraw
  :version "23.2"                       ; simple->fancy
  :group 'diary)