Variable: diary-print-entries-hook

diary-print-entries-hook is a customizable variable defined in diary-lib.el.gz.

Value

lpr-buffer

Documentation

Run by diary-print-entries after preparing a temporary diary buffer.

The buffer shows only the diary entries currently visible in the diary buffer. The default just does the printing. Other uses might include, for example, rearranging the lines into order by day and time, saving the buffer instead of deleting it, or changing the function used to do the printing.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defcustom diary-print-entries-hook #'lpr-buffer
  "Run by `diary-print-entries' after preparing a temporary diary buffer.
The buffer shows only the diary entries currently visible in the
diary buffer.  The default just does the printing.  Other uses
might include, for example, rearranging the lines into order by
day and time, saving the buffer instead of deleting it, or
changing the function used to do the printing."
  :type 'hook
  :group 'diary)