mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
* lisp/ibuf-ext.el (ibuffer-remove-alist): Simplify.
This commit is contained in:
parent
47aa2317c3
commit
0bc2079ce6
@ -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…
Reference in New Issue
Block a user