[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/reformatter 78eb8bc98a 09/81: Doc clarifications
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/reformatter 78eb8bc98a 09/81: Doc clarifications |
Date: |
Tue, 5 Sep 2023 04:03:32 -0400 (EDT) |
branch: elpa/reformatter
commit 78eb8bc98ac49be1b2de2be3028e6a24a706fc20
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Doc clarifications
---
README.md | 5 ++++-
reformatter.el | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 5bc7817490..78a98c247b 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,10 @@ dhall executable:
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`.
+`dhall-format-on-save-mode`. The `:args` and `:program` expressions
+will be evaluated at runtime, so they can refer to variables that may
+(later) have a buffer-local value. A custom variable will be generated
+for the mode lighter, with the supplied value becoming the default.
The generated minor mode allows idiomatic per-directory or per-file
customisation, via the "modes" support baked into Emacs' file-local
diff --git a/reformatter.el b/reformatter.el
index 3146bad41f..b78d4538cb 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -43,7 +43,11 @@
;; 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'
+;; called `dhall-format-on-save-mode'. The :args" and :program
+;; expressions will be evaluated at runtime, so they can refer to
+;; variables that may (later) have a buffer-local value. A custom
+;; variable will be generated for the mode lighter, with the supplied
+;; value becoming the default.
;; The generated minor mode allows idiomatic per-directory or per-file
;; customisation, via the "modes" support baked into Emacs' file-local
- [nongnu] elpa/reformatter d0d58c4eef 01/81: Initial commit, (continued)
- [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
- [nongnu] elpa/reformatter b2963f5100 23/81: Narrow to region when replacing contents with reformatter output, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 78eb8bc98a 09/81: Doc clarifications,
ELPA Syncer <=
- [nongnu] elpa/reformatter 0da7241ca2 34/81: Actually check for broken replace-buffer-contents, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 2fd158102f 54/81: Merge pull request #27 from purcell/files-in-place, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 6c5e7f64c5 41/81: Never use `replace-buffer-contents', ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 7219a0804c 48/81: Support for formatters which succeed with non-zero exit codes, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 00413b21ec 28/81: Add reminder to use a `defgroup` form, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter dc6278a6b1 49/81: Merge pull request #23 from purcell/non-zero-exit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter c9450a39c3 32/81: Merge pull request #8 from wbolster/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 48605c92a7 42/81: Add CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter e15598a0cc 40/81: Prefer `delete-trailing-whitespace` to the aggressive `whitespace-cleanup`, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 1bf00b2aa3 43/81: Add FUNDING.yml, ELPA Syncer, 2023/09/05