branch: externals/hyperbole
commit 3174fbdce1a4d3fc64b32a547475f6d9d8565119
Author: bw <[email protected]>
Commit: bw <[email protected]>
(hsys-consult--noninteractive-grep-paths - Call `cl-copy-list'
- Require 'cl-lib.
---
ChangeLog | 3 +++
hsys-consult.el | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1b3568e7ef9..cfa42d71359 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2026-10-17 Bob Weiner <[email protected]>
+* hsys-consult.el (hsys-consult--noninteractive-grep-paths): (require 'cl-lib)
+ and call its 'cl-copy-list' to fix CI/CD failure.
+
* hsys-consult.el (hsys-consult--noninteractive-grep-paths): Fix to ensure
eliminates any duplicate files and returns file list in orgiinal order.
hyrolo.el (hyrolo-grep): Restore call to above function to filter file
diff --git a/hsys-consult.el b/hsys-consult.el
index 6739e110ed1..70e6bf5a3dc 100644
--- a/hsys-consult.el
+++ b/hsys-consult.el
@@ -2,7 +2,7 @@
;; Author: Bob Weiner
;;
;; Orig-Date: 4-Jul-24 at 09:57:18
-;; Last-Mod: 17-Oct-26 at 02:33:45 by Bob Weiner
+;; Last-Mod: 17-Oct-26 at 03:11:36 by Bob Weiner
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -28,6 +28,7 @@
;; Don't (require 'consult) here since want to create that dependency only
;; when a function within this library is called.
+(require 'cl-lib) ;; for `cl-copy-list'
(require 'find-func)
(require 'hbut)
(require 'hargs)
@@ -422,7 +423,7 @@ matches from PATHS; see the documentation for the `dir'
argument in
#'consult--grep-make-builder)
;; Use `copy-list' to avoid sort modifying
;; `expanded-paths'
- (sort (copy-list expanded-paths) #'string-lessp))
+ (sort (cl-copy-list expanded-paths) #'string-lessp))
regexp))
(cmd-list (car builder-result))
;; Grep for filenames with matches in them and cache the line-level