diff options
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7b37b3d21b3..3e527860c8d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,8 @@ | |||
| 4 | checks made superfluous by the \_< operator. | 4 | checks made superfluous by the \_< operator. |
| 5 | * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe | 5 | * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe |
| 6 | temporarily) broken indentation. | 6 | temporarily) broken indentation. |
| 7 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight | ||
| 8 | nested constants, too. \_< broke that. | ||
| 7 | 9 | ||
| 8 | 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org> | 10 | 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org> |
| 9 | 11 | ||
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 2c8a5ee4a13..19d1ffe0a3b 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1613,7 +1613,7 @@ See `font-lock-syntax-table'.") | |||
| 1613 | '("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+" | 1613 | '("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+" |
| 1614 | 0 font-lock-variable-name-face) | 1614 | 0 font-lock-variable-name-face) |
| 1615 | ;; constants | 1615 | ;; constants |
| 1616 | '("\\_<\\([A-Z]+\\(\\w\\|_\\)*\\)" | 1616 | '("\\(?:\\_<\\|::\\)\\([A-Z]+\\(\\w\\|_\\)*\\)" |
| 1617 | 1 font-lock-type-face) | 1617 | 1 font-lock-type-face) |
| 1618 | '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face) | 1618 | '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face) |
| 1619 | ;; expression expansion | 1619 | ;; expression expansion |