diff options
author | Roland McGrath <roland@gnu.org> | 1995-04-09 18:57:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-04-09 18:57:09 +0000 |
commit | 9ffddd7b9118b04cde89fb6c99d53e80a451a254 (patch) | |
tree | 8608bebf3cbd2abc70fa9062163c578483e02e6e | |
parent | 0c0130989295b5857a1aae2bf509d3496465494d (diff) | |
download | emacs-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.el | 2 |
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 |