[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/reformatter 45c0add950 57/81: Move conditional input file
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/reformatter 45c0add950 57/81: Move conditional input file path to compile time |
Date: |
Tue, 5 Sep 2023 04:03:37 -0400 (EDT) |
branch: elpa/reformatter
commit 45c0add95025f53ca644a6c8b9afa05b2da3c474
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Move conditional input file path to compile time
---
reformatter.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reformatter.el b/reformatter.el
index 20bf45d6dd..0718edbf8d 100644
--- a/reformatter.el
+++ b/reformatter.el
@@ -264,7 +264,7 @@ might use:
When called interactively, or with prefix argument
DISPLAY-ERRORS, shows a buffer if the formatting fails."
(interactive "rp")
- (let ((input-file (or ,input-file (make-temp-file ,(symbol-name
name)))))
+ (let ((input-file ,(if input-file input-file `(make-temp-file
,(symbol-name name)))))
;; Evaluate args with input-file bound
(unwind-protect
(progn
- [nongnu] elpa/reformatter dc6278a6b1 49/81: Merge pull request #23 from purcell/non-zero-exit, (continued)
- [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
- [nongnu] elpa/reformatter 16a7b32736 25/81: Prefer zerop to (eq 0 ...), ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter ac980a8797 27/81: Fix typo in comment, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter aeef16ff67 53/81: Support formatters that operate on files in place, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 27348d5da3 31/81: Use string as modeline lighter format in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 897f3ba503 67/81: Handle slashes in names of created functions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 45c0add950 57/81: Move conditional input file path to compile time,
ELPA Syncer <=
- [nongnu] elpa/reformatter 5aa8c18679 59/81: Specify "from" in nix-env invocation, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 452a99b556 66/81: Add Emacs 28.1 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 394b3a6606 55/81: Add reformatter-temp-file-in-current-directory, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 576d339aa8 60/81: Add Emacs 27.2 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 19582a205e 62/81: Use Emacs > 21 define-minor-mode call convention, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter b57f5d4800 65/81: Merge pull request #33 from bcc32/display-call-process-signal-error-in-buffer, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 7ba5486696 56/81: Clarify that extension does not include the dot, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter c9cf3f0227 80/81: Merge pull request #42 from purcell/dependabot/github_actions/actions/checkout-4, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter 6c4f35dd2b 81/81: Merge pull request #43 from purcell/dependabot/github_actions/cachix/install-nix-action-23, ELPA Syncer, 2023/09/05
- [nongnu] elpa/reformatter c1410f0c7a 75/81: chore(deps): bump cachix/install-nix-action from 12 to 22, ELPA Syncer, 2023/09/05