Variable: desktop-no-desktop-file-hook
desktop-no-desktop-file-hook is a customizable variable defined in
desktop.el.gz.
Value
nil
Documentation
Normal hook run when desktop-read can't find a desktop file.
Run in the directory in which the desktop file was sought. May be used to show a Dired buffer.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-no-desktop-file-hook nil
"Normal hook run when `desktop-read' can't find a desktop file.
Run in the directory in which the desktop file was sought.
May be used to show a Dired buffer."
:type 'hook
:version "22.1")