aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>1995-04-09 18:57:09 +0000
committerRoland McGrath <[email protected]>1995-04-09 18:57:09 +0000
commit98a4349ced3fe72635dc03ba49da3e1a9424b54e (patch)
tree03a3f78136877a1d23fa2e8027a5da2c69cd6b05 /lisp
parentd437b3f6bcdf4ca2a8de80d3403b0962c074d35d (diff)
(server-switch-buffer): Make first arg optional too;
server-edit might pass no args, since server-done might return nil.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 09de052831..aa870b0e7b 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