aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-01-31 13:53:37 +0000
committerGerd Moellmann2001-01-31 13:53:37 +0000
commitb4990dde7883e7a6acdc373ee369c243320ce3f4 (patch)
tree0c1dc81f38d99665e67630a29a08d5c48285a9f8
parent30526cc67c3c906b94984c0abd4ad0c90e9c0139 (diff)
downloademacs-b4990dde7883e7a6acdc373ee369c243320ce3f4.tar.gz
emacs-b4990dde7883e7a6acdc373ee369c243320ce3f4.zip
(save-buffer): Don't give message if (buffer-file-name)
returns nil.
-rw-r--r--lisp/files.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 243dd3a8442..e81a20b7697 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1,7 +1,7 @@
1;;; files.el --- file input and output commands for Emacs 1;;; files.el --- file input and output commands for Emacs
2 2
3;; Copyright (C) 1985, 86, 87, 92, 93, 3;; Copyright (C) 1985, 86, 87, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001
4;; 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. 4;;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7 7
@@ -2506,7 +2506,8 @@ See the subroutine `basic-save-buffer' for more information."
2506 (make-backup-files (or (and make-backup-files (not (eq args 0))) 2506 (make-backup-files (or (and make-backup-files (not (eq args 0)))
2507 (memq args '(16 64))))) 2507 (memq args '(16 64)))))
2508 (and modp (memq args '(16 64)) (setq buffer-backed-up nil)) 2508 (and modp (memq args '(16 64)) (setq buffer-backed-up nil))
2509 (if (and modp large) (message "Saving file %s..." (buffer-file-name))) 2509 (if (and modp large (buffer-file-name))
2510 (message "Saving file %s..." (buffer-file-name)))
2510 (basic-save-buffer) 2511 (basic-save-buffer)
2511 (and modp (memq args '(4 64)) (setq buffer-backed-up nil)))) 2512 (and modp (memq args '(4 64)) (setq buffer-backed-up nil))))
2512 2513