diff options
author | João Távora <joaotavora@gmail.com> | 2017-08-17 14:18:00 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-08-17 14:18:00 +0100 |
commit | 13993c46a21495167517f76d2e36b6c09ac5e89e (patch) | |
tree | 31002875c3e8f9cb3e41575afed1e3c56f0d864a /test/lisp/emacs-lisp/ert-x-tests.el | |
parent | eb34f7f5a29e7bf62326ecb6e693f28878be28cd (diff) | |
download | emacs-13993c46a21495167517f76d2e36b6c09ac5e89e.tar.gz emacs-13993c46a21495167517f76d2e36b6c09ac5e89e.tar.bz2 emacs-13993c46a21495167517f76d2e36b6c09ac5e89e.zip |
Add flymake-backends defcustom
* lisp/progmodes/flymake-proc.el (flymake-proc-can-syntax-check-buffer):
Rename from flymake-can-syntax-check-file. Suitable for adding to
flymake-backends.
(flymake-proc-start-syntax-check): Rename from
flymake-start-syntax-check. Don't check again if buffer can be
checked.
(add-to-list flymake-backends): Hook only flymake-ui.el
* lisp/progmodes/flymake-ui.el (flymake-backends): New
defcustom.
(flymake-on-timer-event, flymake-after-change-function)
(flymake-after-save-hook, flymake-find-file-hook): Call new
flymake--start-syntax-check-buffer and
flymake--can-syntax-check-buffer.
(flymake-mode): Call flymake--can-syntax-check-buffer and set
flymake-backend.
(flymake--backend): New buffer-local variable.
Diffstat (limited to 'test/lisp/emacs-lisp/ert-x-tests.el')
0 files changed, 0 insertions, 0 deletions