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

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

[nongnu] elpa/nix-mode 3338f5997e 056/500: Fix beginning of buffer issue


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 3338f5997e 056/500: Fix beginning of buffer issue
Date: Sat, 29 Jan 2022 08:26:36 -0500 (EST)

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

    Fix beginning of buffer issue
---
 nix-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nix-mode.el b/nix-mode.el
index 595a82bdb5..9255b5db9d 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -158,7 +158,7 @@ If a close brace `}' ends an antiquote, the next character 
begins a string."
     (setq p1 (point))
     (setq p2 (nth 1 (syntax-ppss)))
 
-    (while p2
+    (while (and p2 (not (eq p2 1)))
       (goto-char p2)
       (backward-char)
       (let ((l1 (line-number-at-pos p1))



reply via email to

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