]> code.delx.au - gnu-emacs/blobdiff - lisp/ffap.el
(ffap-replace-file-component): Use `mapc' rather than `mapcar'.
[gnu-emacs] / lisp / ffap.el
index 314d48e9ca85ae7c183bfe6e40c000174006895c..8c338bd947ab755fbf79b9241112b9f674d20bd5 100644 (file)
@@ -13,7 +13,7 @@
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 2, or (at your option)
+;; the Free Software Foundation; either version 3, or (at your option)
 ;; any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
@@ -482,7 +482,7 @@ Returned values:
   "In remote FULLNAME, replace path with NAME.  May return nil."
   ;; Use ange-ftp or efs if loaded, but do not load them otherwise.
   (let (found)
-    (mapcar
+    (mapc
      (function (lambda (sym) (and (fboundp sym) (setq found sym))))
      '(
        efs-replace-path-component