]> git.eshelyaron.com Git - emacs.git/commit
Match special globals in Ruby better
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 24 Mar 2014 08:53:56 +0000 (10:53 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 24 Mar 2014 08:53:56 +0000 (10:53 +0200)
commitc2d6c639cf2bfdb7564bcb8706ac45b0d18dc895
tree4c7a039eb0ea8d39edc55e85cbe268a8086ff6f4
parentf2999a33d0d67867997c66c777e0d6df1076e18d
Match special globals in Ruby better

* lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re):
Match special global variables without curlies, too.
(ruby-font-lock-keywords): Simplify the matcher for special global
variables.  Don't require a non-word character after the variable.

Fixes: debbugs:17057
lisp/ChangeLog
lisp/progmodes/ruby-mode.el