diff options
author | João Távora <joaotavora@gmail.com> | 2017-09-29 12:18:30 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-10-03 14:18:55 +0100 |
commit | 91851c3ea05392701ca779961e4fb518635fa5b2 (patch) | |
tree | b52f70b65bb6fd1063ec41d28d57d5d4b72ad1a1 /lisp/progmodes/flymake-proc.el | |
parent | bd8ea8873d19e6885e7d6c18c112ed0020d4f744 (diff) | |
download | emacs-91851c3ea05392701ca779961e4fb518635fa5b2.tar.gz emacs-91851c3ea05392701ca779961e4fb518635fa5b2.tar.bz2 emacs-91851c3ea05392701ca779961e4fb518635fa5b2.zip |
Flymake variable flymake-diagnostic-functions now a special hook
* lisp/progmodes/flymake-proc.el: Use add-hook to affect
flymake-diagnostic-functions.
* lisp/progmodes/flymake-elisp.el
(flymake-elisp-setup-backends): Use add-hook.
* lisp/progmodes/flymake.el (flymake-diagnostic-functions):
Revise docstring.
(flymake-start): Use run-hook-wrapped.
Diffstat (limited to 'lisp/progmodes/flymake-proc.el')
-rw-r--r-- | lisp/progmodes/flymake-proc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el index 966f358551f..3ab5523128f 100644 --- a/lisp/progmodes/flymake-proc.el +++ b/lisp/progmodes/flymake-proc.el @@ -1114,8 +1114,7 @@ Use CREATE-TEMP-F for creating temp copy." ;;;; Hook onto flymake-ui -(add-to-list 'flymake-diagnostic-functions - 'flymake-proc-legacy-flymake) +(add-hook 'flymake-diagnostic-functions 'flymake-proc-legacy-flymake) ;;;; |