]> git.eshelyaron.com Git - emacs.git/commit
Allow using the left shift operator without spaces on both sides
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 8 Mar 2016 13:46:19 +0000 (15:46 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Mar 2016 15:22:56 +0000 (17:22 +0200)
commit366ec7719f3cfde5f003d97ae9f5d02609827b0c
tree72ac583d68224497c7486d5edf6f89a00b23d74d
parent02bf7cc4632dae6bd679f34307fc83ccc8510471
Allow using the left shift operator without spaces on both sides

* lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
ruby-verify-heredoc, reverse the meaning of the return value, and
short-circuit if preceded by a symbol not separated by whitespace.

* test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
(ruby-no-heredoc-class-self): New tests.
lisp/progmodes/ruby-mode.el
test/automated/ruby-mode-tests.el