From: whatacold Date: Mon, 24 Sep 2018 12:21:47 +0000 (+0800) Subject: Autoload eglot-ensure () X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~428 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=169360c2570c31bd3dcf8d32b754cd15ca51d3e4;p=emacs.git Autoload eglot-ensure () Copyright-paperwork-exempt: yes * eglot.el (eglot-ensure): Add autoload cookie GitHub-reference: https://github.com/joaotavora/eglot/issues/120 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 959cc5d1b8d..8e4be897b78 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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)))