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.
This commit is contained in:
parent
91762e49e1
commit
9a911b4af5
4 changed files with 59 additions and 2 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue