]> git.eshelyaron.com Git - emacs.git/commitdiff
Autoload eglot-ensure ()
authorwhatacold <whatacold@gmail.com>
Mon, 24 Sep 2018 12:21:47 +0000 (20:21 +0800)
committerJoão Távora <joaotavora@gmail.com>
Mon, 24 Sep 2018 12:21:47 +0000 (13:21 +0100)
Copyright-paperwork-exempt: yes

* eglot.el (eglot-ensure): Add autoload cookie

GitHub-reference: https://github.com/joaotavora/eglot/issues/120

lisp/progmodes/eglot.el

index 959cc5d1b8df29dbe37b913a2e45c781ac9b9920..8e4be897b7820401f6447b6212f815e8db9247b8 100644 (file)
@@ -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)))