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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user