Variable: desktop-save-hook

desktop-save-hook is a customizable variable defined in desktop.el.gz.

Value

nil

Documentation

Normal hook run before the desktop is saved in a desktop file.

Run with the desktop buffer current with only the header present. May be used to add to the desktop code or to truncate history lists, for example.

Source Code

;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-save-hook nil
  "Normal hook run before the desktop is saved in a desktop file.
Run with the desktop buffer current with only the header present.
May be used to add to the desktop code or to truncate history lists,
for example."
  :type 'hook)