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

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

[nongnu] elpa/yaml-mode 05ae757 108/124: Don't fall through the first ca


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 05ae757 108/124: Don't fall through the first case
Date: Sun, 29 Aug 2021 11:36:23 -0400 (EDT)

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

    Don't fall through the first case
---
 yaml-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/yaml-mode.el b/yaml-mode.el
index 67f3e94..7c25cf2 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -271,9 +271,9 @@ that key is pressed to begin a block literal."
         (when (nth 3 sps)
           (cond
            ((and (char-equal ?' (char-before (1- pt)))
-                 (char-equal ?' (char-before pt))
-                 (put-text-property (- pt 2) pt
-                                    'syntax-table (string-to-syntax "w"))))
+                 (char-equal ?' (char-before pt)))
+            (put-text-property (- pt 2) pt
+                               '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 (char-before (1- pt))



reply via email to

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