emacs-diffs
[Top][All Lists]
Advanced

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

master 3ea7cec: ; ruby-smie--bosp: Fix the breakage


From: Dmitry Gutov
Subject: master 3ea7cec: ; ruby-smie--bosp: Fix the breakage
Date: Fri, 1 Jan 2021 07:36:54 -0500 (EST)

branch: master
commit 3ea7cec4c0d7f76fd5adeb00b03fabd2ef3b756d
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    ; ruby-smie--bosp: Fix the breakage
---
 lisp/progmodes/ruby-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 9acd7b4..155a160 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -403,8 +403,8 @@ It is used when `ruby-encoding-magic-comment-style' is set 
to `custom'."
                            (not (eq (char-before (1- (point))) ?\\)))
                       (eq (char-before) ?\;)
                       (and (eq (char-before) ?=)
-                           (eq (syntax-after (1- (point)))
-                               (string-to-syntax "."))))))
+                           (equal (syntax-after (1- (point)))
+                                  (string-to-syntax "."))))))
 
 (defun ruby-smie--implicit-semi-p ()
   (save-excursion



reply via email to

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