]> git.eshelyaron.com Git - emacs.git/commitdiff
(ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:21:38 +0000 (00:21 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 26 Sep 2007 00:21:38 +0000 (00:21 +0000)
Use `mapc' rather than `mapcar'.

lisp/net/ange-ftp.el

index 2ebf0374658ebee7ed0b3f05ccd3db2ceea3ddb0..9962fd14613b77b144771b4abcce74deb6a1a054 100644 (file)
@@ -4580,7 +4580,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
        (rest (cdr args)))
     (if (equal "--" (car rest))
        (setq rest (cdr rest)))
-    (mapcar
+    (mapc
      (lambda (file)
        (setq file (expand-file-name file))
        (let ((parsed (ange-ftp-ftp-name file)))
@@ -6055,8 +6055,8 @@ Other orders of $ and _ seem to all work just fine.")
     (puthash ".." t tbl)
     ;; add all additional pubsets, if not listing one of them
     (if (not (member pubset ange-ftp-bs2000-additional-pubsets))
-       (mapcar (lambda (pubset) (puthash pubset t tbl))
-               ange-ftp-bs2000-additional-pubsets))
+       (mapc (lambda (pubset) (puthash pubset t tbl))
+             ange-ftp-bs2000-additional-pubsets))
     tbl))
 
 (add-to-list 'ange-ftp-parse-list-func-alist