aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2021-01-01 14:35:57 +0200
committerDmitry Gutov2021-01-01 14:36:37 +0200
commit3ea7cec4c0d7f76fd5adeb00b03fabd2ef3b756d (patch)
tree61a170509081f18d5da2038a674abc0201b1e255
parent0273cb61a4bb8a7ddd2dccf0d67d5da8c3da6a42 (diff)
downloademacs-3ea7cec4c0d7f76fd5adeb00b03fabd2ef3b756d.tar.gz
emacs-3ea7cec4c0d7f76fd5adeb00b03fabd2ef3b756d.zip
; ruby-smie--bosp: Fix the breakage
-rw-r--r--lisp/progmodes/ruby-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 9acd7b47876..155a1609d3e 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'."
403 (not (eq (char-before (1- (point))) ?\\))) 403 (not (eq (char-before (1- (point))) ?\\)))
404 (eq (char-before) ?\;) 404 (eq (char-before) ?\;)
405 (and (eq (char-before) ?=) 405 (and (eq (char-before) ?=)
406 (eq (syntax-after (1- (point))) 406 (equal (syntax-after (1- (point)))
407 (string-to-syntax ".")))))) 407 (string-to-syntax "."))))))
408 408
409(defun ruby-smie--implicit-semi-p () 409(defun ruby-smie--implicit-semi-p ()
410 (save-excursion 410 (save-excursion