]> git.eshelyaron.com Git - emacs.git/commit
More correctly setup rust-mode-related autoloads
authorJoão Távora <joaotavora@gmail.com>
Thu, 10 May 2018 11:07:11 +0000 (12:07 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 10 May 2018 11:07:11 +0000 (12:07 +0100)
commiteac9d2917847f77431bdffefae751c99a15e1df8
treed60eb4122d8fcafa2def0db89c96c7edc21289ce
parentd2fa8fea9aa71f9ef553b2a67946a33f208e5cb5
More correctly setup rust-mode-related autoloads

By autoloading the add-hook form and the eglot--setup-rls-idiosyncrasies
definition, a user can start rust-mode without loading eglot.el along
with it.

* eglot.el (rust-mode-hook)
(eglot--setup-rls-idiosyncrasies): Wrap in autoloaded progn.
lisp/progmodes/eglot.el