Commit 53bb90ca authored by Gerd Moellmann's avatar Gerd Moellmann

(after-find-file): Don't print a message ``New file''

if WARN is nil.
parent 2488aba5
......@@ -1263,7 +1263,7 @@ unless NOMODES is non-nil."
(format "%s has auto save data; consider M-x recover-file"
(file-name-nondirectory buffer-file-name))
(setq not-serious t)
(if error "(New file)" nil)))
(if (and warn error) "(New file)" nil)))
((not error)
(setq not-serious t)
"Note: file is write protected")
......
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