mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
* lisp/ibuf-ext.el (ibuffer-remove-alist): Simplify.
This commit is contained in:
parent
47aa2317c3
commit
0bc2079ce6
1 changed files with 1 additions and 3 deletions
|
|
@ -48,9 +48,7 @@
|
|||
;;; Utility functions
|
||||
(defun ibuffer-remove-alist (key alist)
|
||||
"Remove all entries in ALIST that have a key equal to KEY."
|
||||
(while (when-let ((it (assoc key alist)))
|
||||
(setq alist (remove it alist)) it))
|
||||
alist)
|
||||
(assoc-delete-all key (copy-sequence alist)))
|
||||
|
||||
(defun ibuffer-split-list (fn elts)
|
||||
(declare (obsolete seq-group-by "29.1"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue