]> git.eshelyaron.com Git - emacs.git/commit
Merge stuff from upsteam ruby-mode, part 1.
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 10 Aug 2012 20:19:09 +0000 (16:19 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 10 Aug 2012 20:19:09 +0000 (16:19 -0400)
commit9cd80478d6b6e8fd0eaac516e2f7bb6a5e0041bf
tree993bc6d6f79a492ed56c98dcaac4b12d936eaa22
parentd301b4133f855c96f425b4793fa13dae3463f392
Merge stuff from upsteam ruby-mode, part 1.
* lisp/progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
binding (use `M-;' instead).
(ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
constituents, ! is not (but kinda should be).
(ruby-singleton-class-p): New function.
(ruby-expr-beg, ruby-in-here-doc-p)
(ruby-syntax-propertize-heredoc): Use it.
(ruby-syntax-propertize-function): Adjust for changes in
`ruby-syntax-propertize-heredoc'.

* test/automated/ruby-mode-tests.el (ruby-should-indent)
(ruby-assert-state): New functions.
Add new tests.

Fixes: debbugs:12169
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/automated/ruby-mode-tests.el