1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(cd-absolute): Add missing arg to `error'.

This commit is contained in:
Richard M. Stallman 1997-08-05 05:49:10 +00:00
parent 3cea0ca7f8
commit 31c691c1a1

View File

@ -399,7 +399,7 @@ Not actually set up until the first time you you use it.")
(if (not (file-directory-p dir))
(if (file-exists-p dir)
(error "%s is not a directory" dir)
(error "%s: no such directory"))
(error "%s: no such directory" dir))
(if (file-executable-p dir)
(setq default-directory dir)
(error "Cannot cd to %s: Permission denied" dir))))