[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 0950294c48 04/14: Fix out-of-bounds error
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 0950294c48 04/14: Fix out-of-bounds error |
Date: |
Tue, 19 Jul 2022 01:58:49 -0400 (EDT) |
branch: elpa/nix-mode
commit 0950294c482c46cc927f661d062f102162b4a59a
Author: Nicholas Coltharp <coltharp@pdx.edu>
Commit: Nicholas Coltharp <coltharp@pdx.edu>
Fix out-of-bounds error
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index 14f0b96060..8d00fa2f99 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -247,7 +247,7 @@ STRING-TYPE type of string based off of Emacs syntax table
types"
(cond
((member str-peek '("${" "\\n" "\\r" "\\t"))
(goto-char (+ 2 end)))
- ((equal (substring str-peek 0 1) "$")
+ ((string-prefix-p "$" str-peek)
(goto-char (+ 1 end)))
(t
(nix--mark-string (1- end) ?\'))))))))
- [nongnu] elpa/nix-mode updated (8fe2ccf0b0 -> b3f71c75f7), ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 80b05d3df7 08/14: Fix docstring for new function, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 7072348b55 03/14: Fix syntax highlighting for ''$ in indented strings, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode acf6f9d573 06/14: Code style: change (+ 1 ...) to (1+ ...), ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode acf4d6fdce 07/14: Naming change, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 7fbde25122 09/14: Add tests for issue 157, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode bac87932a8 02/14: chore(deps): bump cachix/install-nix-action from 16 to 17, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode bca3d518e3 01/14: chore(deps): bump actions/checkout from 2 to 3, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 0950294c48 04/14: Fix out-of-bounds error,
ELPA Syncer <=
- [nongnu] elpa/nix-mode 5669eff2ad 13/14: Merge pull request #151 from NixOS/dependabot/github_actions/actions/checkout-3, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 87ba3a26c1 05/14: Fix $$ in string literals, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 8bd12b16b8 10/14: fix wrong enum value in nix-has-flakes, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode 5d5704d846 11/14: Merge pull request #159 from aameen-tulip/master, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode e22819a73b 12/14: Merge pull request #157 from nosewings/master, ELPA Syncer, 2022/07/19
- [nongnu] elpa/nix-mode b3f71c75f7 14/14: Merge pull request #153 from NixOS/dependabot/github_actions/cachix/install-nix-action-17, ELPA Syncer, 2022/07/19