Tweak Flymake autoloads and dependencies
authorJoão Távora <joaotavora@gmail.com>
Sun, 1 Oct 2017 00:24:31 +0000 (01:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 3 Oct 2017 13:18:55 +0000 (14:18 +0100)
commit2e84179a291c6fce57d5e6c44121d77160487615
tree656c2970bf0a73f8d300dc19dfdeb593c16215d7
parent5d3f8a8b804d76d6a7cb97738ca79db4b1df06f2
Tweak Flymake autoloads and dependencies

* lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add to
flymake-diagnostic-functions here.

* lisp/progmodes/flymake-elisp.el[top]: Don't add to
emacs-lisp-mode-hook.  Don't call flymake-elisp-setup-backends in
every buffer.  (flymake-elisp-checkdoc) (flymake-elisp-byte-compile):
Autoload.  (flymake-elisp-setup-backends): Remove.

* lisp/progmodes/flymake.el: Add some top-level comments.
(flymake-make-diagnostic)
(flymake-mode, flymake-mode-on, flymake-mode-off): Add autoloads

Where to fixup this shit?
lisp/progmodes/elisp-mode.el
lisp/progmodes/flymake-elisp.el
lisp/progmodes/flymake.el