# HG changeset patch # User Richard M. Stallman # Date 870721002 0 # Node ID 68b212facca8fef42d21967f5812fd890b9fc3e4 # Parent 842869692447781c9770fdf10f0d50febd5ff114 (basic-save-buffer-1): Add missing argument for error. diff -r 842869692447 -r 68b212facca8 lisp/files.el --- 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