# HG changeset patch # User Chong Yidong # Date 1231692352 0 # Node ID 7c467055463fb8c4cc3b82c147000de2f8164d44 # Parent 30796b5e3f426da88166099feef76f37734c4d93 (save-buffers-kill-terminal): Args for server-save-buffers-kill-terminal changed. diff -r 30796b5e3f42 -r 7c467055463f lisp/files.el --- a/lisp/files.el Sun Jan 11 16:45:36 2009 +0000 +++ b/lisp/files.el Sun Jan 11 16:45:52 2009 +0000 @@ -5731,12 +5731,9 @@ If emacsclient was started with a list of filenames to edit, then only these files will be asked to be saved." (interactive "P") - (let ((proc (frame-parameter (selected-frame) 'client)) - (frame (selected-frame))) - (if (null proc) - (save-buffers-kill-emacs) - (server-save-buffers-kill-terminal proc arg)))) - + (if (frame-parameter (selected-frame) 'client) + (server-save-buffers-kill-terminal arg) + (save-buffers-kill-emacs arg))) ;; We use /: as a prefix to "quote" a file name ;; so that magic file name handlers will not apply to it.