changeset 19145:68b212facca8

(basic-save-buffer-1): Add missing argument for error.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Aug 1997 18:56:42 +0000
parents 842869692447
children 0f89b8543e19
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Mon Aug 04 18:55:42 1997 +0000
+++ b/lisp/files.el	Mon Aug 04 18:56:42 1997 +0000
@@ -2141,7 +2141,7 @@
 	  (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