From: Richard M. Stallman Date: Mon, 4 Aug 1997 18:56:42 +0000 (+0000) Subject: (basic-save-buffer-1): Add missing argument for error. X-Git-Tag: emacs-20.1~801 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb2fdcfa498485196612f2623dbd01708f44f11f;p=emacs.git (basic-save-buffer-1): Add missing argument for error. --- diff --git a/lisp/files.el b/lisp/files.el index e8c80354033..a43477a1c8b 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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