]> git.eshelyaron.com Git - emacs.git/commit
Propertize character literals and special global variables differently
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 10 Mar 2016 02:13:25 +0000 (04:13 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 10 Mar 2016 12:36:08 +0000 (14:36 +0200)
commit28532a91a96f30ab468d06b410bd199fb08dd5e9
tree27d669312c66fd49bf25c9f2081869da4d8de4e7
parenta7d6f39d8a291ba78b7605f0e841e2751dfe5e11
Propertize character literals and special global variables differently

* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
character literals and global variables with special names with
prefix and symbol syntax classes, for SMIE to tokenize them
together automatically.
(ruby-font-lock-keywords): Fix an old regression in highlighting
character literals.
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb