]> git.eshelyaron.com Git - emacs.git/commit
New Flymake backend using the shellcheck program
authorAugusto Stoffel <arstoffel@gmail.com>
Sat, 17 Sep 2022 16:30:04 +0000 (18:30 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Sat, 24 Sep 2022 07:59:51 +0000 (09:59 +0200)
commit767a10cc63de8ce9f85ac688be33555278b4f3fb
tree3e2b93b220bde6d17b2dc4c1926a016ffbbfbb7c
parent77fb8a16120a03227a8851ef23bb0293f6a11d2d
New Flymake backend using the shellcheck program

See bug#57884.

* lisp/progmodes/sh-script.el: Require let-alist and subr-x when
compiling.
(sh--json-read): Helper function to deal with possible absence of
json-parse-buffer.
(sh-shellcheck-program, sh--shellcheck-process,
sh-shellcheck-flymake): Variables and function defining a Flymake
backend.
(sh-mode): Add it to 'flymake-diagnostic-functions'.
etc/NEWS
lisp/progmodes/sh-script.el