Commit ee4282cd authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use

`following-char'.
parent a6462ef5
2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
`following-char'.
2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
* progmodes/ruby-mode.el (ruby-smie-rules):
......
......@@ -355,7 +355,7 @@ explicitly declared in magic comment."
(memq (char-syntax (char-after pos)) '(?w ?\"))))
(defun ruby-smie--at-dot-call ()
(and (eq ?w (char-syntax (char-after)))
(and (eq ?w (char-syntax (following-char)))
(eq (char-before) ?.)
(not (eq (char-before (1- (point))) ?.))))
......
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