Commit b4990dde authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(save-buffer): Don't give message if (buffer-file-name)

returns nil.
parent 30526cc6
;;; 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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment