Commit eb452dfe authored by Juanma Barranquero's avatar Juanma Barranquero

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.
parent f2250118
Pipeline #4215 failed with stage
in 56 minutes and 25 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment