From: Rudi Grinberg Date: Tue, 23 Mar 2021 06:21:02 +0000 (-0700) Subject: use cl-remove-if instead of remove-if X-Git-Tag: 0.99~2381 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=6be6d24b4d64e99e6eb6b06ac5f59ad5892046e6 use cl-remove-if instead of remove-if The latter is an alias. Also require hte library that provides this function. Signed-off-by: Rudi Grinberg --- diff --git a/misc/fuel/fuel-xref.el b/misc/fuel/fuel-xref.el index b40669a02d..de05e265ae 100644 --- a/misc/fuel/fuel-xref.el +++ b/misc/fuel/fuel-xref.el @@ -21,6 +21,7 @@ (require 'fuel-menu) (require 'fuel-base) (require 'factor-mode) +(require 'cl-seq) (require 'button) @@ -138,7 +139,7 @@ cursor at the first ocurrence of the used word." "Should be called in a with-current-buffer context" (put-text-property 0 (length search-str) 'font-lock-face 'bold search-str) (let* ((inhibit-read-only t) - (xrefs (remove-if (lambda (el) (not (nth 2 el))) xrefs)) + (xrefs (cl-remove-if (lambda (el) (not (nth 2 el))) xrefs)) (count-str (fuel-xref--pluralize-count (length xrefs) "vocab")) (title-str (format "%s %s %s:\n\n" count-str cc search-str))) (erase-buffer)