1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

(cd): Use mapc' rather than mapcar'.

This commit is contained in:
Juanma Barranquero 2007-09-25 11:05:46 +00:00
parent 49176fc7c3
commit 458c46fc13

View File

@ -643,7 +643,7 @@ The path separator is colon in GNU and GNU-like systems."
(let ((trypath (parse-colon-path (getenv "CDPATH"))))
(setq cd-path (or trypath (list "./")))))
(if (not (catch 'found
(mapcar
(mapc
(function (lambda (x)
(let ((f (expand-file-name (concat x dir))))
(if (file-directory-p f)