diff options
| author | Richard M. Stallman | 1997-08-04 18:56:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-04 18:56:42 +0000 |
| commit | cb2fdcfa498485196612f2623dbd01708f44f11f (patch) | |
| tree | 7e94e2be39a5e9065bc5e6c2de287f34f3501a04 | |
| parent | 4adf39571b364f4177d09c89d162df073db65656 (diff) | |
| download | emacs-cb2fdcfa498485196612f2623dbd01708f44f11f.tar.gz emacs-cb2fdcfa498485196612f2623dbd01708f44f11f.zip | |
(basic-save-buffer-1): Add missing argument for error.
| -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'." | |||
| 2141 | (if (not (file-directory-p dir)) | 2141 | (if (not (file-directory-p dir)) |
| 2142 | (if (file-exists-p dir) | 2142 | (if (file-exists-p dir) |
| 2143 | (error "%s is not a directory" dir) | 2143 | (error "%s is not a directory" dir) |
| 2144 | (error "%s: no such directory")) | 2144 | (error "%s: no such directory" buffer-file-name)) |
| 2145 | (if (not (file-exists-p buffer-file-name)) | 2145 | (if (not (file-exists-p buffer-file-name)) |
| 2146 | (error "Directory %s write-protected" dir) | 2146 | (error "Directory %s write-protected" dir) |
| 2147 | (if (yes-or-no-p | 2147 | (if (yes-or-no-p |