]> git.eshelyaron.com Git - emacs.git/commit
Fix emacsclient -c foo.txt behaviour with many frames
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 29 Sep 2020 14:21:17 +0000 (16:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 29 Sep 2020 14:21:17 +0000 (16:21 +0200)
commit7f2c35d02874129723cc5e89d54cc3ab5bf07a31
tree5ec0395277f9158c0dc7a1eb6e3f18b27588b84c
parent07f748da431b67353767a7494083c10a2d17d7c4
Fix emacsclient -c foo.txt behaviour with many frames

* lisp/server.el (server-execute): Pass in whether we opened a new
frame or not (bug#43645).
(server-switch-buffer): Use this to switch to the requested buffer
in the new frame if we have "emacsclient -c foo.txt", and retain
the old behaviour if it's "emacsclient foo.txt".
lisp/server.el