diff options
author | João Távora <joaotavora@gmail.com> | 2017-11-03 16:05:39 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2017-11-05 12:53:56 +0000 |
commit | 58e742b21dcd15f5a00381de3e7179210978ddc9 (patch) | |
tree | a6359d9d9a9eab27bb75f9f0df67671576c22703 /test/lisp/progmodes/flymake-tests.el | |
parent | 9dee764165f54bf93039b8301e0ef6dd143d6cf1 (diff) | |
download | emacs-58e742b21dcd15f5a00381de3e7179210978ddc9.tar.gz emacs-58e742b21dcd15f5a00381de3e7179210978ddc9.tar.bz2 emacs-58e742b21dcd15f5a00381de3e7179210978ddc9.zip |
Add a Flymake backend for Perl
Define a simple backend in perl-mode.el, which cperl-mode.el also
uses.
* lisp/progmodes/cperl-mode.el (cperl-mode): Add to
flymake-diagnostic-functions.
* lisp/progmodes/flymake-proc.el
(flymake-proc-allowed-file-name-masks): Disable legacy backend
for perl files.
* lisp/progmodes/perl-mode.el (perl-flymake-command): New
defcustom.
(perl--flymake-proc): New buffer-local variable.
(perl-flymake): New function.
(perl-mode): Add to flymake-diagnostic-functions.
Diffstat (limited to 'test/lisp/progmodes/flymake-tests.el')
0 files changed, 0 insertions, 0 deletions