Variable: desktop-restore-in-current-display

desktop-restore-in-current-display is a customizable variable defined in desktop.el.gz.

Value

t

Documentation

Controls how restoring of frames treats displays.

If t, restores frames into the current display. If nil, restores frames into their original displays (if possible). If delete, deletes frames on other displays instead of restoring them.

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

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/desktop.el.gz
(defcustom desktop-restore-in-current-display t
  "Controls how restoring of frames treats displays.
If t, restores frames into the current display.
If nil, restores frames into their original displays (if possible).
If `delete', deletes frames on other displays instead of restoring them."
  :type '(choice (const :tag "Restore in current display" t)
		 (const :tag "Restore in original display" nil)
		 (const :tag "Delete frames in other displays" delete))
  :version "24.4")