summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2012-09-07 08:15:56 +0400
committerDmitry Gutov <dgutov@yandex.ru>2012-09-07 08:15:56 +0400
commit0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54 (patch)
treeadb7447fb81dd81374d12a3765716b8d60e01fe6 /lisp/emacs-lisp/shadow.el
parent1d43a35f49f7403f7f50f36dddf88167a7c81f11 (diff)
downloademacs-0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54.tar.gz
emacs-0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54.tar.bz2
emacs-0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54.zip
* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
ruby-beginning-of-indent, simplify, allow all keywords to have indentation before them. (ruby-beginning-of-indent): Adjust for above. Search until the found point is not inside a string or comment. (ruby-font-lock-keywords): Allow symbols to start with "@" character, give them higher priority than variables. (ruby-syntax-propertize-function) (ruby-font-lock-syntactic-keywords): Remove the "not comments" matchers. Expression expansions are not comments when inside a string, and there comment syntax status is irrelevant. (ruby-match-expression-expansion): New function. Check that expression expansion is inside a string, and it's not escaped. (ruby-font-lock-keywords): Use it. * test/automated/ruby-mode-tests.el: New tests (Bug#11613).
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
0 files changed, 0 insertions, 0 deletions