Commit 660efa1a authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

Fix comment from the last change to `ruby-smie-rules'

parent 5645852c
...@@ -561,7 +561,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'." ...@@ -561,7 +561,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'."
(forward-char 1) (forward-char 1)
(skip-chars-forward " \t") (skip-chars-forward " \t")
;; `smie-rule-hanging-p' is not good enough here, ;; `smie-rule-hanging-p' is not good enough here,
;; because we want to accept hanging tokens at bol, too. ;; because we want to reject hanging tokens at bol, too.
(unless (or (eolp) (forward-comment 1)) (unless (or (eolp) (forward-comment 1))
(cons 'column (current-column))))) (cons 'column (current-column)))))
(`(:after . " @ ") (smie-rule-parent)) (`(:after . " @ ") (smie-rule-parent))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment