Skip to content

Commit

Permalink
Autoload eglot-ensure (#120)
Browse files Browse the repository at this point in the history
Copyright-paperwork-exempt: yes

* eglot.el (eglot-ensure): Add autoload cookie
  • Loading branch information
whatacold authored and joaotavora committed Sep 24, 2018
1 parent f482c3e commit b061873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ INTERACTIVE is t if called interactively."

(defvar eglot--managed-mode) ; forward decl

;;;###autoload
(defun eglot-ensure ()
"Start Eglot session for current buffer if there isn't one."
(let ((buffer (current-buffer)))
Expand Down

0 comments on commit b061873

Please sign in to comment.