summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/seq.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-11-03 23:44:44 +0200
committerJuri Linkov <juri@linkov.net>2019-11-03 23:44:44 +0200
commitc472df8ad30741a9585fb591db3189812b66e8c9 (patch)
tree6930b251ef9c05821393f213535d89ccfb1b4289 /lisp/emacs-lisp/seq.el
parent84a3793b194efe92e2eb80cd0f625f3324bf4cae (diff)
downloademacs-c472df8ad30741a9585fb591db3189812b66e8c9.tar.gz
emacs-c472df8ad30741a9585fb591db3189812b66e8c9.tar.bz2
emacs-c472df8ad30741a9585fb591db3189812b66e8c9.zip
* lisp/tab-bar.el: Filter out non-persistent tab parameters from frameset.
* lisp/tab-bar.el (frameset-filter-tabs): New function added to 'frameset-filter-alist' for frame parameter 'tabs'. (tab-bar--tab): Remove ws-bl/ws-bbl that are not needed because frameset doesn't save frame buffer-list to desktop anyway. (tab-bar-select-tab): Remove ws-bl/ws-bbl related code. * lisp/emacs-lisp/seq.el (seq-reduce): Add autoload cookie.
Diffstat (limited to 'lisp/emacs-lisp/seq.el')
-rw-r--r--lisp/emacs-lisp/seq.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index 810b4792b2b..2fd735617ba 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -323,6 +323,7 @@ list."
(seq-filter (lambda (elt) (not (funcall pred elt)))
sequence))
+;;;###autoload
(cl-defgeneric seq-reduce (function sequence initial-value)
"Reduce the function FUNCTION across SEQUENCE, starting with INITIAL-VALUE.