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

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

[nongnu] elpa/yaml-mode e9696eb 106/124: Fix a thinko


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode e9696eb 106/124: Fix a thinko
Date: Sun, 29 Aug 2021 11:36:22 -0400 (EDT)

branch: elpa/yaml-mode
commit e9696eb9ceec8eb79c807c907630e4b5d049db8e
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Fix a thinko
---
 yaml-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 01530bd..67f3e94 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -276,7 +276,7 @@ that key is pressed to begin a block literal."
                                     'syntax-table (string-to-syntax "w"))))
            ;; If quote is detected as a syntactic string start but appeared
            ;; after a non-whitespace character, then mark it as syntactic word.
-           ((and (not (eq ?\n (char-before (1- pt))))
+           ((and (char-before (1- pt))
                  (char-equal ?w (char-syntax (char-before (1- pt)))))
             (put-text-property (1- pt) pt
                                'syntax-table (string-to-syntax "w")))



reply via email to

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