Function: frameset-filter-tabs
frameset-filter-tabs is a byte-compiled function defined in
tab-bar.el.gz.
Signature
(frameset-filter-tabs CURRENT FILTERED PARAMETERS SAVING)
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
;; Some window-configuration parameters don't need to be persistent.
;; Don't save to the desktop file such tab parameters that are saved
;; as "Unprintable entity" so can't be used after restoring the desktop.
;; Actually tab-bar-select-tab already can handle unprintable entities,
;; but it's better not to waste the desktop file with useless data.
(defun frameset-filter-tabs (current _filtered _parameters saving)
(if saving
(mapcar (lambda (current)
(if (consp current)
(seq-reduce (lambda (current param)
(assq-delete-all param current))
'(wc wc-point wc-bl wc-bbl
wc-history-back wc-history-forward)
(copy-sequence current))
current))
current)
current))