* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
`following-char'.
This commit is contained in:
parent
a6462ef558
commit
ee4282cde2
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
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))) ?.))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue