]> git.eshelyaron.com Git - emacs.git/commitdiff
(server-done): If buffer visits no file, don't offer save.
authorRichard M. Stallman <rms@gnu.org>
Sun, 13 Apr 1997 06:12:34 +0000 (06:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 13 Apr 1997 06:12:34 +0000 (06:12 +0000)
lisp/server.el

index 78f10f422df2fb0069dca9699f69d20e79aefd79..dcd025b3d03c5c56a23c9580e498e4ba8ada7e1d 100644 (file)
@@ -353,6 +353,7 @@ or nil.  KILLED is t if we killed the BUFFER (because it was a temp file)."
                    (buffer-backed-up nil))
                (save-buffer))
            (if (and (buffer-modified-p)
+                    buffer-file-name
                     (y-or-n-p (concat "Save file " buffer-file-name "? ")))
                (save-buffer buffer)))
          (server-buffer-done buffer)))))