-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):
(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))) ?.))))