diff options
author | Juri Linkov <juri@linkov.net> | 2019-12-03 01:40:12 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-12-03 01:40:12 +0200 |
commit | 9a911b4af50fdfef308aab8e2492392f0986580b (patch) | |
tree | a1a6b21e9065936f12d479b61c76bed89e22065d /lisp/emacs-lisp/seq.el | |
parent | 91762e49e10949a1f54a1bab78555e196e75d9ea (diff) | |
download | emacs-9a911b4af50fdfef308aab8e2492392f0986580b.tar.gz emacs-9a911b4af50fdfef308aab8e2492392f0986580b.tar.bz2 emacs-9a911b4af50fdfef308aab8e2492392f0986580b.zip |
New functions window-state-buffers and tab-bar-get-buffer-tab (bug#38354)
* lisp/window.el (window-state-buffers): New function.
* lisp/tab-bar.el (tab-bar-get-buffer-tab): New function.
* lisp/emacs-lisp/seq.el (seq-some): Add autoload cookie.
* lisp/desktop.el (desktop-buffers-not-to-save-function): New variable.
(desktop-save-buffer-p): Use it.
Diffstat (limited to 'lisp/emacs-lisp/seq.el')
-rw-r--r-- | lisp/emacs-lisp/seq.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index 2fd735617ba..7e5e6f3b16f 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el @@ -348,6 +348,7 @@ If SEQUENCE is empty, return INITIAL-VALUE and FUNCTION is not called." (throw 'seq--break nil))) t)) +;;;###autoload (cl-defgeneric seq-some (pred sequence) "Return non-nil if PRED is satisfied for at least one element of SEQUENCE. If so, return the first non-nil value returned by PRED." |