diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-04 18:56:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-04 18:56:42 +0000 |
commit | cb2fdcfa498485196612f2623dbd01708f44f11f (patch) | |
tree | 7e94e2be39a5e9065bc5e6c2de287f34f3501a04 /lisp/files.el | |
parent | 4adf39571b364f4177d09c89d162df073db65656 (diff) | |
download | emacs-cb2fdcfa498485196612f2623dbd01708f44f11f.tar.gz emacs-cb2fdcfa498485196612f2623dbd01708f44f11f.tar.bz2 emacs-cb2fdcfa498485196612f2623dbd01708f44f11f.zip |
(basic-save-buffer-1): Add missing argument for error.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |