]> git.eshelyaron.com Git - emacs.git/commitdiff
(basic-save-buffer-1): Add missing argument for error.
authorRichard M. Stallman <rms@gnu.org>
Mon, 4 Aug 1997 18:56:42 +0000 (18:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 4 Aug 1997 18:56:42 +0000 (18:56 +0000)
lisp/files.el

index e8c80354033f02495ac774b5df54e613cb153f4a..a43477a1c8b3d094577051d32e9dcf5ebf9038b7 100644 (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