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:
parent
49176fc7c3
commit
458c46fc13
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user