[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/reformatter 0aea1debd1 05/81: package-lint fixes, primaril
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/reformatter 0aea1debd1 05/81: package-lint fixes, primarily renaming define-formatter |
Date: |
Tue, 5 Sep 2023 04:03:32 -0400 (EDT) |
branch: elpa/reformatter
commit 0aea1debd1e9a4d7630bebc6f5634e44f1f20d06
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
package-lint fixes, primarily renaming define-formatter
---
README.md | 6 +++---
reformatter.el | 9 +++++----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 1120373015..ac5782a282 100644
--- a/README.md
+++ b/README.md
@@ -21,13 +21,13 @@ dhall executable:
```el
;;;###autoload (autoload 'dhall-format "current-file" nil t)
;;;###autoload (autoload 'dhall-format-on-save-mode "current-file" nil t)
-(define-reformatter dhall-format
+(reformatter-define dhall-format
:program dhall-command
:args '("format")
:lighter 'DF)
```
-The `define-reformatter` macro expands to code which generates both
+The `reformatter-define` macro expands to code which generates both
the `dhall-format` interactive command and a local minor mode called
`dhall-format-on-save-mode`. The example above includes autoloads
which will be useful to library authors.
@@ -43,7 +43,7 @@ above example might add the following to a project-specific
(mode . dhall-format-on-save-mode)))
```
-See the documentation for `define-reformatter`, which provides a
+See the documentation for `reformatter-define`, which provides a
number of options for customising the generated code.
## Rationale
diff --git a/reformatter.el b/reformatter.el
index 9d84c2d661..61aa974285 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -4,6 +4,7 @@
;; Author: Steve Purcell <steve@sanityinc.com>
;; Keywords: convenience, tools
+;; Homepage: https://github.com/purcell/reformatter.el
;; Package-Requires: ((emacs "24.3"))
;; Package-Version: 0
@@ -38,11 +39,11 @@
;; ;;;###autoload (autoload 'dhall-format "current-file" nil t)
;; ;;;###autoload (autoload 'dhall-format-on-save-mode "current-file" nil
t)
-;; (define-reformatter dhall-format
+;; (reformatter-define dhall-format
;; :program dhall-command
;; :args '("format"))
-;; The `define-reformatter' macro expands to code which generates both
+;; The `reformatter-define' macro expands to code which generates both
;; the `dhall-format' interactive command and a local minor mode
;; called `dhall-format-on-save-mode'. The example above includes
;; autoloads which will be useful to library authors.
@@ -56,7 +57,7 @@
;; ((dhall-mode
;; (mode . dhall-format-on-save-mode)))
-;; See the documentation for `define-reformatter', which provides a
+;; See the documentation for `reformatter-define', which provides a
;; number of options for customising the generated code.
;;; Code:
@@ -65,7 +66,7 @@
(require 'ansi-color)
;;;###autoload
-(cl-defmacro define-reformatter (name &key program args (mode t) lighter
keymap)
+(cl-defmacro reformatter-define (name &key program args (mode t) lighter
keymap)
"Define a reformatter command with NAME.
When called, the reformatter will use PROGRAM and any ARGS to
- [nongnu] elpa/reformatter 7e41f1a397 33/81: Use replace-buffer-contents when available and not broken, (continued)
- [nongnu] elpa/reformatter 7e41f1a397 33/81: Use replace-buffer-contents when available and not broken, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 2ff029f84b 64/81: Display error message in error buffer if call-process signals, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 7c5452bf31 69/81: Update tests to used suffixed commands only, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 130205bbe2 68/81: Remove the catch-all alias: users should make their own defalias as needed, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter e6c23cd52d 58/81: Update CI config to specify nix-path, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 113ddd51bd 74/81: Add dependabot config, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 1cbf7225b0 76/81: Merge pull request #40 from purcell/dependabot/github_actions/cachix/install-nix-action-22, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 1af1371f71 78/81: chore(deps): bump actions/checkout from 2 to 4, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 7cf8b5d71e 08/81: Note about absence of "gensym", ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 48bcae5856 06/81: Doc fixes, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 0aea1debd1 05/81: package-lint fixes, primarily renaming define-formatter,
ELPA Syncer <=
- [nongnu] elpa/reformatter 664fa96fd0 24/81: Add/update comments, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter d0d58c4eef 01/81: Initial commit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 9c6c239371 04/81: Generate a separate custom variable for the mode lighter, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 9478d6ca2d 19/81: Fix -on-save-mode docstring, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 466740b40a 17/81: Link to example of using reformatter in a user config, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter c684c0b30f 10/81: Add links to usages in the wild, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 2c85cd76e5 03/81: Always output :keymap and :lighter minor mode arguments, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 6484d45a87 07/81: Only support string mode lighters, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 123d192fb0 16/81: Use https for sanityinc.com link, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 2b2785557a 15/81: Clearer documentation, ELPA Syncer, 2023/09/05