Function: frameset-switch-to-tty-p
frameset-switch-to-tty-p is a byte-compiled function defined in
frameset.el.gz.
Signature
(frameset-switch-to-tty-p PARAMETERS)
Documentation
True when switching to a text-only terminal.
Return non-nil if the parameter alist PARAMETERS describes a frame on a
graphic display, and the frame is being restored on a text-only terminal;
otherwise return nil. Only meaningful when called from a filtering
function in frameset-filter-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/frameset.el.gz
(cdr frameset--target-display))) ; to a GUI display
(defun frameset-switch-to-tty-p (parameters)
"True when switching to a text-only terminal.
Return non-nil if the parameter alist PARAMETERS describes a frame on a
graphic display, and the frame is being restored on a text-only terminal;
otherwise return nil. Only meaningful when called from a filtering
function in `frameset-filter-alist'."
(and frameset--target-display ; we're switching
(cdr (assq 'display parameters)) ; from a GUI display
(null (cdr frameset--target-display)))) ; to a tty