guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 216597cf78a52e6ea05b0350747cda6e6e331d1f
Author: Morgan Smith <[email protected]>
AuthorDate: Tue Feb 17 11:07:00 2026 -0500
gnu: emacs-ert-selector: Minor improvements.
* gnu/packages/emacs.scm (emacs-ert-selector): Surround test names with
beginning of line and end of line regex characters as emacs expects a regex.
Sort the list of tests so that rearranging the excluded tests does not
result
in a rebuild.
Change-Id: I7002fa48122d8409f383f85f515a1a6ac9cdd957
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/emacs.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 7121fb6215..3aa00b2602 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -118,8 +118,9 @@
(string-join
(map
(lambda (test)
- (string-append "\\\"" test "\\\""))
- excluded-tests))
+ ;; This is a regex
+ (string-append "\\\"^" test "\\$\\\""))
+ (sort excluded-tests string<?)))
"))"))
(define %selector