diff options
author | João Távora <joaotavora@gmail.com> | 2023-03-04 00:09:32 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2023-03-04 00:16:41 +0000 |
commit | bd5115e13479b1d81d6aa09efe362ad14d53c3c6 (patch) | |
tree | e4583cc16d867678b649d45d1dc42d365501bf20 /lisp/progmodes/go-ts-mode.el | |
parent | adc04ad52474113e5a540b33fbefd389b861a89f (diff) | |
download | emacs-bd5115e13479b1d81d6aa09efe362ad14d53c3c6.tar.gz emacs-bd5115e13479b1d81d6aa09efe362ad14d53c3c6.tar.bz2 emacs-bd5115e13479b1d81d6aa09efe362ad14d53c3c6.zip |
Remove Eglot activation check from find-file-hook
Adding eglot--maybe-activate-editing-mode to find-file-hook isn't
really necessary, since it is already in
'after-change-major-mode-hook', and that also runs every time we find
a file.
This reduces the number of project.el logic that runs every time the
user visits a file.
* lisp/progmodes/eglot.el (find-file-hook): No need to add
eglot--maybe-activate-editing-mode here.
Diffstat (limited to 'lisp/progmodes/go-ts-mode.el')
0 files changed, 0 insertions, 0 deletions