Function: desktop-restoring-frameset-p

desktop-restoring-frameset-p is a byte-compiled function defined in desktop.el.gz.

Signature

(desktop-restoring-frameset-p)

Documentation

True if calling desktop-restore-frameset will actually restore it.

Source Code

;; Defined in /usr/src/emacs/lisp/desktop.el.gz
;; ----------------------------------------------------------------------------
(defun desktop-restoring-frameset-p ()
  "True if calling `desktop-restore-frameset' will actually restore it."
  (and desktop-restore-frames desktop-saved-frameset
       ;; Don't restore frames when the selected frame is the daemon's
       ;; initial frame.
       (not (and (daemonp) (not (frame-parameter nil 'client))))
       t))