1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(basic-save-buffer-1): Add missing argument for error.

This commit is contained in:
Richard M. Stallman 1997-08-04 18:56:42 +00:00
parent 4adf39571b
commit cb2fdcfa49

View file

@ -2141,7 +2141,7 @@ After saving the buffer, run `after-save-hook'."
(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" buffer-file-name))
(if (not (file-exists-p buffer-file-name))
(error "Directory %s write-protected" dir)
(if (yes-or-no-p