]> git.eshelyaron.com Git - emacs.git/commit
Stop recognizing :#{} as symbol in ruby-mode
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 8 Mar 2016 19:16:54 +0000 (21:16 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Mar 2016 15:22:56 +0000 (17:22 +0200)
commit9b16bc2a01a3554feb9577c507bcc874f863ad81
treee4854b638750180b28d56dc1d25edb9d428bfa29
parent366ec7719f3cfde5f003d97ae9f5d02609827b0c
Stop recognizing :#{} as symbol in ruby-mode

* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
the weird part that recognized colon followed by interpolation
construct without quotes (e.g. ':#{abc}') as symbol, which is just a
syntax error in any modern version of Ruby.  Fix nearby bug reference.
lisp/progmodes/ruby-mode.el