aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index 35d0cc44ed8..edd89b30c9f 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -443,7 +443,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
443 (member (save-excursion (ruby-smie--backward-token)) 443 (member (save-excursion (ruby-smie--backward-token))
444 '("iuwu-mod" "and" "or"))) 444 '("iuwu-mod" "and" "or")))
445 (save-excursion 445 (save-excursion
446 (forward-comment 1) 446 (forward-comment (point-max))
447 (looking-at "&?\\.")))))) 447 (looking-at "&?\\."))))))
448 448
449(defun ruby-smie--redundant-do-p (&optional skip) 449(defun ruby-smie--redundant-do-p (&optional skip)