emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 542ae77358 110/500: buffer-substring can't bet <1


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 542ae77358 110/500: buffer-substring can't bet <1.
Date: Sat, 29 Jan 2022 08:26:42 -0500 (EST)

branch: elpa/nix-mode
commit 542ae773584a40609e790992d8d543039f88bc5d
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    buffer-substring can't bet <1.
---
 nix-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nix-mode.el b/nix-mode.el
index abf8897c68..c163b9cb4b 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -111,6 +111,7 @@
          (string-type (nix--get-string-type context)))
     (unless (or (equal string-type ?\")
                 (and (equal string-type nil)
+                     (< 1 start)
                      (string-match-p nix--variable-char
                                      (buffer-substring (1- start) start))))
       (when (equal string-type nil)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]