Function: frameset-filter-sanitize-color
frameset-filter-sanitize-color is a byte-compiled function defined in
frameset.el.gz.
Signature
(frameset-filter-sanitize-color CURRENT FILTERED PARAMETERS SAVING)
Documentation
When switching to a GUI frame, remove "unspecified" colors.
Useful as a filter function for tty-specific parameters.
For the meaning of CURRENT, FILTERED, PARAMETERS and SAVING,
see frameset-filter-alist.
Source Code
;; Defined in /usr/src/emacs/lisp/frameset.el.gz
(defun frameset-filter-sanitize-color (current _filtered parameters saving)
"When switching to a GUI frame, remove \"unspecified\" colors.
Useful as a filter function for tty-specific parameters.
For the meaning of CURRENT, FILTERED, PARAMETERS and SAVING,
see `frameset-filter-alist'."
(or saving
(not (frameset-switch-to-gui-p parameters))
(not (stringp (cdr current)))
(not (string-match-p "^unspecified-[fb]g$" (cdr current)))))