]> git.eshelyaron.com Git - emacs.git/commit
Ensure that new emacsclient frames has focus
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Dec 2020 13:29:46 +0000 (14:29 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Dec 2020 13:29:46 +0000 (14:29 +0100)
commit9cef8fc8cdb5e6e18c9cf617eed3808d67ca340e
tree7f4e3780cdf918b354a8c49b1f3b50321bb700a0
parentff5a3c74fc45c80f2c8c272f259dbba84b7c3f66
Ensure that new emacsclient frames has focus

* lisp/server.el (server-execute): Focus the frame here...
(server-switch-buffer): Instead of here (bug#15469).  This ensures
that the frame has focus if Emacs is querying the user about
something when opening a file (for instance "Revert from file?").
lisp/server.el