]> git.eshelyaron.com Git - emacs.git/commit
Indent methods with keyword names correctly
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 10 Mar 2016 12:35:45 +0000 (14:35 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 10 Mar 2016 12:36:08 +0000 (14:36 +0200)
commit72c7438c4c6ee0d24405636cde4b18c32034a634
treed55e54a0672619571b36ed160dccd94574343266
parent28532a91a96f30ab468d06b410bd199fb08dd5e9
Indent methods with keyword names correctly

* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
Rename to ruby-smie--before-method-name.  Now also check if we're
after a 'def' keyword.  Update both callers.
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb