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:
parent
3cea0ca7f8
commit
31c691c1a1
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user