Amend last Eglot commit (bug#62065)
The fix contained a spurious check for this-command that shouldn't have made it in.. * lisp/progmodes/eglot.el (eglot-ensure): Don't check this-command.
This commit is contained in:
parent
b916ec88b2
commit
4a603c9849
1 changed files with 1 additions and 2 deletions
|
@ -1159,8 +1159,7 @@ INTERACTIVE is t if called interactively."
|
|||
(remove-hook 'post-command-hook #'maybe-connect t)
|
||||
(unless eglot--managed-mode
|
||||
(apply #'eglot--connect (eglot--guess-contact))))))
|
||||
(when (and this-command
|
||||
buffer-file-name)
|
||||
(when buffer-file-name
|
||||
(add-hook 'post-command-hook #'maybe-connect 'append t)))))
|
||||
|
||||
(defun eglot-events-buffer (server)
|
||||
|
|
Loading…
Add table
Reference in a new issue