Commit 98a4349c authored by Roland McGrath's avatar Roland McGrath

(server-switch-buffer): Make first arg optional too;

server-edit might pass no args, since server-done might return nil.
parent d437b3f6
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment