diff options
| author | mgmarlow <graham@mgmarlow.com> | 2023-07-29 13:26:26 -0700 |
|---|---|---|
| committer | mgmarlow <graham@mgmarlow.com> | 2023-07-29 13:26:26 -0700 |
| commit | 1879f358a3d61db0b87832443386f9e1f9ec132d (patch) | |
| tree | 8be9f78ffaec4cf38c197f21a1dd41ff2c4e7d6e | |
| parent | c4eb853cde80f1cc94f937e4ad06b30c018fcf85 (diff) | |
| download | flymake-clippy-1879f358a3d61db0b87832443386f9e1f9ec132d.tar.gz | |
Documentation updates for MELPA inclusion
| -rw-r--r-- | clippy-flymake.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/clippy-flymake.el b/clippy-flymake.el index 3afdce2..205f5a1 100644 --- a/clippy-flymake.el +++ b/clippy-flymake.el @@ -1,9 +1,12 @@ -;;; flymake-clippy.el --- Flymake backend for Clippy -*- lexical-binding: t; -*- +;;; clippy-flymake.el --- Flymake backend for Clippy -*- lexical-binding: t; -*- ;; Copyright (C) 2023 Graham Marlow ;; Author: Graham Marlow <info@mgmarlow.com> ;; Keywords: tools +;; URL: https://sr.ht/~mgmarlow/clippy-flymake/ +;; Version: 1.0.0 +;; Package-Requires: ((emacs "26.1")) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -59,8 +62,10 @@ "Clippy subprocess object, used to ensure obsolete processes aren't reused.") (defun clippy-flymake-backend (report-fn &rest _args) - "Flymake backend for Clippy, the Rust linter. Calls REPORT-FN with a -list of Flymake diagnostics for the current buffer. + "Flymake backend for Clippy, the Rust linter. + +Calls REPORT-FN with a list of Flymake diagnostics for the +current buffer. Use `clippy-flymake-setup-backend' to register the backend with the appropriate Flymake hook." @@ -112,4 +117,5 @@ with the appropriate Flymake hook." (add-hook 'flymake-diagnostic-functions #'clippy-flymake-backend nil t)) (provide 'clippy-flymake) + ;;; clippy-flymake.el ends here |
