]> git.eshelyaron.com Git - emacs.git/commitdiff
(save-buffer): Don't give message if (buffer-file-name)
authorGerd Moellmann <gerd@gnu.org>
Wed, 31 Jan 2001 13:53:37 +0000 (13:53 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 31 Jan 2001 13:53:37 +0000 (13:53 +0000)
returns nil.

lisp/files.el

index 243dd3a8442fab647f08e8bd0e496f4177fa5b49..e81a20b76973c5c245ec828d3036e45d521a114b 100644 (file)
@@ -1,7 +1,7 @@
 ;;; files.el --- file input and output commands for Emacs
 
-;; Copyright (C) 1985, 86, 87, 92, 93,
-;;              94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 86, 87, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001
+;;;   Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 
@@ -2506,7 +2506,8 @@ See the subroutine `basic-save-buffer' for more information."
        (make-backup-files (or (and make-backup-files (not (eq args 0)))
                               (memq args '(16 64)))))
     (and modp (memq args '(16 64)) (setq buffer-backed-up nil))
-    (if (and modp large) (message "Saving file %s..." (buffer-file-name)))
+    (if (and modp large (buffer-file-name))
+       (message "Saving file %s..." (buffer-file-name)))
     (basic-save-buffer)
     (and modp (memq args '(4 64)) (setq buffer-backed-up nil))))