~mgmarlow/flymake-fennel

1a061aaeb41b691d11278188915a51f1aa2c7209 — Graham Marlow 11 months ago b6d4799
Autoload setup
1 files changed, 2 insertions(+), 1 deletions(-)

M flymake-fennel.el
M flymake-fennel.el => flymake-fennel.el +2 -1
@@ 80,10 80,11 @@ Calls into REPORT-FN with diagnostics from the fennel compiler."
      (process-send-region flymake-fennel--flymake-proc (point-min) (point-max))
      (process-send-eof flymake-fennel--flymake-proc))))

;;;###autoload
(defun flymake-fennel-setup ()
  "Set up Fennel and Flymake."
  (interactive)
  (add-hook 'flymake-diagnostic-functions 'flymake-fennel-flymake-backend nil t)
  (add-hook 'flymake-diagnostic-functions #'flymake-fennel-flymake-backend nil t)
  (flymake-mode))

(provide 'flymake-fennel)