From 9a911b4af50fdfef308aab8e2492392f0986580b Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 3 Dec 2019 01:40:12 +0200 Subject: 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. --- lisp/emacs-lisp/seq.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/emacs-lisp') 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." -- cgit v1.2.3