summaryrefslogtreecommitdiff
path: root/lisp/progmodes/flymake-proc.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-10-01 13:30:38 +0100
committerJoão Távora <joaotavora@gmail.com>2017-10-03 14:18:55 +0100
commit30ea272fe472ed77eab40179f43bb7bee5184912 (patch)
treed9f10b68676c1d0bc13ad4a242ffe41fccb4dde7 /lisp/progmodes/flymake-proc.el
parent2e84179a291c6fce57d5e6c44121d77160487615 (diff)
downloademacs-30ea272fe472ed77eab40179f43bb7bee5184912.tar.gz
emacs-30ea272fe472ed77eab40179f43bb7bee5184912.tar.bz2
emacs-30ea272fe472ed77eab40179f43bb7bee5184912.zip
Hook Flymake onto proper checkdoc and byte-compile interfaces
The interfaces in bytecomp.el and checkdoc.el are mostly boilerplate, with little knowledge of actual internals or thought given to the usefulness of said interfaces in contexts other than Flymake's. * lisp/emacs-lisp/bytecomp.el (byte-compile-log-warning-function): New variable. (byte-compile-log-warning): Use it. (byte-compile--log-warning-for-byte-compile): New function. * lisp/emacs-lisp/checkdoc.el (checkdoc-create-error-function): New variable. (checkdoc-create-error): Use it. (checkdoc--create-error-for-checkdoc): New function.xo * lisp/progmodes/flymake-elisp.el (flymake-elisp--checkdoc-1): Use checkdoc-create-error-function. (flymake-elisp--batch-byte-compile): Use byte-compile-log-warning-function.
Diffstat (limited to 'lisp/progmodes/flymake-proc.el')
0 files changed, 0 insertions, 0 deletions