diff options
| author | Dmitry Gutov | 2013-12-06 16:24:10 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2013-12-06 16:24:10 +0200 |
| commit | fa834a93da52976387fe71c0034d0c8d9437fe6b (patch) | |
| tree | 4b32c6b2a249f07132ac7f14a76af7b02f1cec39 | |
| parent | 73d3db828e8149847b3666acbc38f94898ac15a9 (diff) | |
| download | emacs-fa834a93da52976387fe71c0034d0c8d9437fe6b.tar.gz emacs-fa834a93da52976387fe71c0034d0c8d9437fe6b.zip | |
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch
up the last change.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3bd389d93d0..8e68eb40768 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-12-06 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch | ||
| 4 | up the last change. | ||
| 5 | |||
| 1 | 2013-12-06 Leo Liu <sdl.web@gmail.com> | 6 | 2013-12-06 Leo Liu <sdl.web@gmail.com> |
| 2 | 7 | ||
| 3 | * progmodes/octave.el (inferior-octave-prompt): Use shy groups. | 8 | * progmodes/octave.el (inferior-octave-prompt): Use shy groups. |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index be12b1474c3..3d30cb015d6 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1652,8 +1652,8 @@ It will be properly highlighted even when the call omits parens.") | |||
| 1652 | (0 (unless (save-excursion | 1652 | (0 (unless (save-excursion |
| 1653 | (or (nth 8 (syntax-ppss (match-beginning 0))) | 1653 | (or (nth 8 (syntax-ppss (match-beginning 0))) |
| 1654 | (let (parse-sexp-lookup-properties) | 1654 | (let (parse-sexp-lookup-properties) |
| 1655 | (or (zerop (skip-syntax-backward "w_")) | 1655 | (zerop (skip-syntax-backward "w_"))) |
| 1656 | (memq (preceding-char) '(?@ ?$)))))) | 1656 | (memq (preceding-char) '(?@ ?$)))) |
| 1657 | (string-to-syntax "_")))) | 1657 | (string-to-syntax "_")))) |
| 1658 | ;; Regular expressions. Start with matching unescaped slash. | 1658 | ;; Regular expressions. Start with matching unescaped slash. |
| 1659 | ("\\(?:\\=\\|[^\\]\\)\\(?:\\\\\\\\\\)*\\(/\\)" | 1659 | ("\\(?:\\=\\|[^\\]\\)\\(?:\\\\\\\\\\)*\\(/\\)" |