Do not use cl-lib functions since those are unavailable on older Emacsen.
authorDavid Engster <deng@randomsample.de>
Sun, 23 Feb 2014 12:11:33 +0000 (13:11 +0100)
committerDavid Engster <deng@randomsample.de>
Sun, 23 Feb 2014 12:11:33 +0000 (13:11 +0100)
* auth-source.el (auth-source-netrc-saver): Do not depend on `cl-lib'
to stay compatible with older Emacsen, so replace `cl-loop' with
`loop'.

lisp/ChangeLog
lisp/auth-source.el

index 828d3d9..14b3eed 100644 (file)
@@ -1,3 +1,9 @@
+2014-02-23  David Engster  <deng@randomsample.de>
+
+       * auth-source.el (auth-source-netrc-saver): Do not depend on `cl-lib'
+       to stay compatible with older Emacsen, so replace `cl-loop' with
+       `loop'.
+
 2014-02-22  Daniel Colascione  <dancol@dancol.org>
 
        * auth-source.el (auth-source-secrets-listify-pattern): New function.
 2014-02-22  Daniel Colascione  <dancol@dancol.org>
 
        * auth-source.el (auth-source-secrets-listify-pattern): New function.
index 103b66e..d1437d4 100644 (file)
@@ -1534,10 +1534,10 @@ list, it mathces the original pattern."
            (heads (if (stringp value)
                       (list (list key value))
                     (mapcar (lambda (v) (list key v)) value))))
            (heads (if (stringp value)
                       (list (list key value))
                     (mapcar (lambda (v) (list key v)) value))))
-      (cl-loop
+      (loop
          for h in heads
          nconc
          for h in heads
          nconc
-           (cl-loop
+           (loop
               for tl in tails
               collect (append h tl))))))
 
               for tl in tails
               collect (append h tl))))))