aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-01-11 16:45:52 +0000
committerChong Yidong2009-01-11 16:45:52 +0000
commit0eef14bdd0c18c87df5b54bf2c58c2736ba3a090 (patch)
treef75f813eab4284663d78870c1c2484a9ce3cb336
parentac088d51a00ba59a39c850861e26517609059a3d (diff)
downloademacs-0eef14bdd0c18c87df5b54bf2c58c2736ba3a090.tar.gz
emacs-0eef14bdd0c18c87df5b54bf2c58c2736ba3a090.zip
(save-buffers-kill-terminal): Args for
server-save-buffers-kill-terminal changed.
-rw-r--r--lisp/files.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 6e95dfc34c6..e846d5d2ba4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5731,12 +5731,9 @@ With prefix ARG, silently save all file-visiting buffers, then kill.
5731If emacsclient was started with a list of filenames to edit, then 5731If emacsclient was started with a list of filenames to edit, then
5732only these files will be asked to be saved." 5732only these files will be asked to be saved."
5733 (interactive "P") 5733 (interactive "P")
5734 (let ((proc (frame-parameter (selected-frame) 'client)) 5734 (if (frame-parameter (selected-frame) 'client)
5735 (frame (selected-frame))) 5735 (server-save-buffers-kill-terminal arg)
5736 (if (null proc) 5736 (save-buffers-kill-emacs arg)))
5737 (save-buffers-kill-emacs)
5738 (server-save-buffers-kill-terminal proc arg))))
5739
5740 5737
5741;; We use /: as a prefix to "quote" a file name 5738;; We use /: as a prefix to "quote" a file name
5742;; so that magic file name handlers will not apply to it. 5739;; so that magic file name handlers will not apply to it.