]> git.eshelyaron.com Git - emacs.git/commit
Watch for files opened under umbrella of existing process
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 13:08:37 +0000 (14:08 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 13:19:48 +0000 (14:19 +0100)
commit7ba401ce38fc3f68eccffc547948ed432de8143e
tree8fd975fcd7b54c9ad416095dda98fd10b1a88dd9
parent508c8efe23b26e585deefb897586257ab9bc14ce
Watch for files opened under umbrella of existing process

* eglot.el (eglot--connect): Call success-fn with a proc.
(eglot-reconnect): Adapt to new eglot--connect.
(eglot-new-process): Call eglot--maybe-activate-editing-mode
(eglot--maybe-activate-editing-mode): New function.
(find-file-hook): Add it here.
lisp/progmodes/eglot.el