mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
ibuffer-mark-by-content-regexp: don't depend on `cl-some'
* lisp/ibuf-ext.el (ibuffer-mark-by-content-regexp): Use `cl-dolist' instead of `cl-some' to avoid a run-time dependency on cl-lib that triggers an unreported bug similar to bug#38430.
This commit is contained in:
parent
f22501185e
commit
eb452dfe95
1 changed files with 3 additions and 2 deletions
|
|
@ -1861,8 +1861,9 @@ Otherwise buffers whose name matches an element of
|
|||
(cond ((and (not all-buffers)
|
||||
(or
|
||||
(memq mode ibuffer-never-search-content-mode)
|
||||
(cl-some (lambda (x) (string-match x (buffer-name buf)))
|
||||
ibuffer-never-search-content-name)))
|
||||
(cl-dolist (x ibuffer-never-search-content-name nil)
|
||||
(when-let ((found (string-match x (buffer-name buf))))
|
||||
(cl-return found)))))
|
||||
(setq res nil))
|
||||
(t
|
||||
(with-current-buffer buf
|
||||
|
|
|
|||
Loading…
Reference in a new issue