diff options
| author | Dmitry Gutov | 2012-08-14 08:38:11 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-08-14 08:38:11 -0400 |
| commit | f063063a8a8bfc1ba343e7e9eb5d17f866f6fccd (patch) | |
| tree | 2c68a80c0f9f14d93250ad8f5b4619eae3870f31 /lisp/ChangeLog | |
| parent | e636fafe20f0238d0aaabc4b822642efe68cad9b (diff) | |
| download | emacs-f063063a8a8bfc1ba343e7e9eb5d17f866f6fccd.tar.gz emacs-f063063a8a8bfc1ba343e7e9eb5d17f866f6fccd.zip | |
* lisp/progmodes/ruby-mode.el (ruby-syntax-methods-before-regexp): New const.
(ruby-syntax-propertize-function): Use it to recognize regexps.
Don't look at the text after regexp, just use the whitelist.
* test/indent/ruby.rb: Rearrange examples, add new ones.
Fixes: debbugs:6286
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index db4cc8e7fab..875ab5d3188 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | (ruby-syntax-propertize-percent-literal): Only propertize when not | 10 | (ruby-syntax-propertize-percent-literal): Only propertize when not |
| 11 | inside a simple string or comment. When the literal is unclosed, | 11 | inside a simple string or comment. When the literal is unclosed, |
| 12 | leave the text after it unpropertized. | 12 | leave the text after it unpropertized. |
| 13 | (ruby-syntax-methods-before-regexp): New constant. | ||
| 14 | (ruby-syntax-propertize-function): Use it to recognize regexps. | ||
| 15 | Don't look at the text after regexp, just use the whitelist. | ||
| 13 | 16 | ||
| 14 | 2012-08-14 Andreas Schwab <schwab@linux-m68k.org> | 17 | 2012-08-14 Andreas Schwab <schwab@linux-m68k.org> |
| 15 | 18 | ||