summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2012-08-14 08:28:12 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-08-14 08:28:12 -0400
commite636fafe20f0238d0aaabc4b822642efe68cad9b (patch)
treee55e068aa5714d96fd180c4118156ffe8e83e98b /lisp/emacs-lisp
parent8e99d072be7ce8aff322d65dc87527c4118722f2 (diff)
downloademacs-e636fafe20f0238d0aaabc4b822642efe68cad9b.tar.gz
emacs-e636fafe20f0238d0aaabc4b822642efe68cad9b.tar.bz2
emacs-e636fafe20f0238d0aaabc4b822642efe68cad9b.zip
* lisp/progmodes/ruby-mode.el: Improve percent literals.
(ruby-percent-literal-beg-re): New constant. (ruby-syntax-general-delimiters-goto-beg): Rename to `ruby-syntax-enclosing-percent-literal', improve literal type check. (ruby-syntax-propertize-general-delimiters): Rename to `ruby-syntax-propertize-percent-literal', it's a shorter and more popular term. Adjust comments everywhere. (ruby-syntax-propertize-percent-literal): Only propertize when not inside a simple string or comment. When the literal is unclosed, leave the text after it unpropertized. Fixes: debbugs:6286
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions