emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7496844 04/10: Don’t (require 'cl)


From: Michal Nazarewicz
Subject: [Emacs-diffs] master 7496844 04/10: Don’t (require 'cl)
Date: Tue, 2 Aug 2016 16:05:34 +0000 (UTC)

branch: master
commit 7496844e7dd8b5c852df0b2525299d2dc9d71bb4
Author: Michal Nazarewicz <address@hidden>
Commit: Michal Nazarewicz <address@hidden>

    Don’t (require 'cl)
    
    * test/src/regex-test.el: Don’t (require 'cl).
    (regex-tests-PCRE): s/loop/cl-loop/
---
 test/src/regex-tests.el |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/test/src/regex-tests.el b/test/src/regex-tests.el
index 1407441..97b9633 100644
--- a/test/src/regex-tests.el
+++ b/test/src/regex-tests.el
@@ -20,7 +20,6 @@
 ;;; Code:
 
 (require 'ert)
-(require 'cl)
 
 (ert-deftest regex-word-cc-fallback-test ()
   "Test that ‘[[:cc:]]*x’ matches ‘x’ (bug#24020).
@@ -516,9 +515,9 @@ differences in behavior.")
                  ('invalid-regexp 'compilation-failed))
 
                matches-observed
-               (loop for x from 0 to 20
-                     collect (and (not what-failed)
-                                  (or (match-string x string) "<unset>")))))
+               (cl-loop for x from 0 to 20
+                        collect (and (not what-failed)
+                                     (or (match-string x string) "<unset>")))))
        nil)
 
       ;; verification line: failed match



reply via email to

[Prev in Thread] Current Thread [Next in Thread]