From 6be6d24b4d64e99e6eb6b06ac5f59ad5892046e6 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Mon, 22 Mar 2021 23:21:02 -0700 Subject: [PATCH] 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 --- misc/fuel/fuel-xref.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.34.1