branch: elpa/yaml-mode
commit 05ae757fa39c55ad5ed47b4175a15fd2e2934146
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
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))