Variable: desktop-not-loaded-hook

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

Value

nil

Documentation

Normal hook run when the user declines to reuse a desktop file.

Run in the directory in which the desktop file was found. May be used to deal with accidental multiple Emacs jobs.

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

Source Code

;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-not-loaded-hook nil
  "Normal hook run when the user declines to reuse a desktop file.
Run in the directory in which the desktop file was found.
May be used to deal with accidental multiple Emacs jobs."
  :type 'hook
  :options '(desktop-save-mode-off save-buffers-kill-emacs)
  :version "22.2")