[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 1789c83b83 454/500: nix-format.el: Properly escap
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 1789c83b83 454/500: nix-format.el: Properly escape string in error message |
Date: |
Sat, 29 Jan 2022 08:27:55 -0500 (EST) |
branch: elpa/nix-mode
commit 1789c83b831e7af039307970233af282fd5a40e9
Author: Aaron L. Zeng <me@bcc32.com>
Commit: Aaron L. Zeng <me@bcc32.com>
nix-format.el: Properly escape string in error message
%S directs `format-message`, and thus `error`, to format the argument
in a way consistent with Elisp read syntax, so the contents string
literals are properly quoted and escaped.
---
nix-format.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-format.el b/nix-format.el
index 8d66f88f8b..3dd553df93 100644
--- a/nix-format.el
+++ b/nix-format.el
@@ -35,7 +35,7 @@
"Find the nixfmt binary, or error if it's missing."
(let ((nixfmt-bin (executable-find nix-nixfmt-bin)))
(unless nixfmt-bin
- (error "Could not locate executable \"%s\"" nix-nixfmt-bin))
+ (error "Could not locate executable %S" nix-nixfmt-bin))
nixfmt-bin))
(defun nix-format-buffer ()
- [nongnu] elpa/nix-mode 0023fc5b10 428/500: Merge pull request #127 from leungbk/nix-drv-regexp, (continued)
- [nongnu] elpa/nix-mode 0023fc5b10 428/500: Merge pull request #127 from leungbk/nix-drv-regexp, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode bdd3c8a1e5 412/500: Exclude braces from ffap pattern, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d1ee0e1741 416/500: Use javascript-mode for nix-drv-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0cf1ea1e0e 390/500: Don’t pare nix completions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 25cd13349f 445/500: Linkify `nix-mode.org` in Readme, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c29b11b647 443/500: Add Package-Requires for dependency on "f", ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e4844f7a71 438/500: Fix nix-system in nix-2.4, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c016c5503d 473/500: nix-flake: Reuse the last flake when two C-u is given, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c2d96ced52 447/500: Fix wrong documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1ac42cd103 465/500: Update lock file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1789c83b83 454/500: nix-format.el: Properly escape string in error message,
ELPA Syncer <=
- [nongnu] elpa/nix-mode e645310c88 458/500: Introduce `nix-store-show-path` command, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ef92acd96c 453/500: nix-format.el: Use replace-buffer-contents when available, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ed00d8dff2 463/500: nix.el: Fix for Nix 2.5, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 327175e768 460/500: Merge pull request #138 from phikal/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b1257d3ea6 461/500: Merge branch 'master' into store-path, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ae1f5253be 478/500: nix-flake: Add documentation to README, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9d8dc3c8d8 495/500: Merge pull request #143 from akirak/fix-flake-switching, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e7bf2e4cc4 489/500: Merge pull request #140 from akirak/flake-transient, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1f922d78eb 291/500: Fix regex regression that caused the indent to indent too much, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9ebf7389eb 298/500: Merge branch 'etu-fix-issue-72', ELPA Syncer, 2022/01/29