summaryrefslogtreecommitdiff
path: root/oldXMenu/Create.c
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2016-03-09 16:43:51 +0200
committerDmitry Gutov <dgutov@yandex.ru>2016-03-09 17:22:56 +0200
commit1b9d6163b023aaefd15d38ea28e968a113202402 (patch)
tree7a1823db56e0f353388a7c25ae03a6824bfb1a88 /oldXMenu/Create.c
parent9b16bc2a01a3554feb9577c507bcc874f863ad81 (diff)
downloademacs-1b9d6163b023aaefd15d38ea28e968a113202402.tar.gz
emacs-1b9d6163b023aaefd15d38ea28e968a113202402.tar.bz2
emacs-1b9d6163b023aaefd15d38ea28e968a113202402.zip
Propertize operator symbol names with symbol syntax class
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Do it here. (ruby-font-lock-keywords): Instead of handling them here. Leave highlighting them to the "normal" matcher, because now we can. (ruby-smie--forward-token, ruby-smie--backward-token): Likewise, don't special-case operator symbols anymore. (ruby-smie--args-separator-p): Simplify the regexp, match operator names with \s_. (ruby-smie--implicit-semi-p): Handle the special cases of ? and = at EOL the same way: check if the character has been assigned the symbol syntax class by syntax-propertize.
Diffstat (limited to 'oldXMenu/Create.c')
0 files changed, 0 insertions, 0 deletions