summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-09 18:57:09 +0000
committerRoland McGrath <roland@gnu.org>1995-04-09 18:57:09 +0000
commit9ffddd7b9118b04cde89fb6c99d53e80a451a254 (patch)
tree8608bebf3cbd2abc70fa9062163c578483e02e6e
parent0c0130989295b5857a1aae2bf509d3496465494d (diff)
downloademacs-9ffddd7b9118b04cde89fb6c99d53e80a451a254.tar.gz
(server-switch-buffer): Make first arg optional too;
server-edit might pass no args, since server-done might return nil.
-rw-r--r--lisp/server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 09de0528313..aa870b0e7b1 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -358,7 +358,7 @@ starts server process and that is all. Invoked by \\[server-edit]."
(server-start nil)
(apply 'server-switch-buffer (server-done))))
-(defun server-switch-buffer (next-buffer &optional killed-one)
+(defun server-switch-buffer (&optional next-buffer killed-one)
"Switch to another buffer, preferably one that has a client.
Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it."
;; KILLED-ONE is t in a recursive call