]> code.delx.au - gnu-emacs/commitdiff
(server-switch-buffer): Make first arg optional too;
authorRoland McGrath <roland@gnu.org>
Sun, 9 Apr 1995 18:57:09 +0000 (18:57 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 9 Apr 1995 18:57:09 +0000 (18:57 +0000)
server-edit might pass no args, since server-done might return nil.

lisp/server.el

index 09de0528313e126454ef248e51926e3dc009f91e..aa870b0e7b1cccd004ca889605f4b5624043ff5c 100644 (file)
@@ -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