summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/regexp-opt.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2012-12-14 10:58:15 +0400
committerDmitry Gutov <dgutov@yandex.ru>2012-12-14 10:58:15 +0400
commitbb808526ae2847f1e9aa6559835da2a10545a273 (patch)
tree98fea65f31b2de5192163bea1d25beab29cb5044 /lisp/emacs-lisp/regexp-opt.el
parentdbb530d9887fd51de9f8e338b325537d9eac0a3a (diff)
downloademacs-bb808526ae2847f1e9aa6559835da2a10545a273.tar.gz
emacs-bb808526ae2847f1e9aa6559835da2a10545a273.tar.bz2
emacs-bb808526ae2847f1e9aa6559835da2a10545a273.zip
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Extract `ruby-syntax-propertize-expansions'. (ruby-syntax-propertize-expansions): Only change syntax on certain string delimiters, to punctuation. This way the common functions like forward-word and thing-at-point still work. (ruby-match-expression-expansion): Improve readability. (ruby-block-contains-point): New function. (ruby-add-log-current-method): Handle several edge cases. * test/automated/ruby-mode-tests.el Rename one interpolation test; add three more. (ruby-with-temp-buffer): New macro, use it where appropriate. (ruby-add-log-current-method-examples): Use "_" for target point. Add four tests for ruby-add-log-current-method.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions