diff options
| author | Joakim Verona | 2013-01-29 00:03:33 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-01-29 00:03:33 +0100 |
| commit | 8baa84f464c72cfcd08f43a9b7a1f092ed0c03a2 (patch) | |
| tree | 7305a3981842ec5580e547f18634f668222794d4 /lisp/progmodes/ruby-mode.el | |
| parent | 7a87fee72cf24500ee9e7f0b4a3effe77e2b3a53 (diff) | |
| parent | b2dc4f52e73593ec205c30324247b56257842b77 (diff) | |
| download | emacs-8baa84f464c72cfcd08f43a9b7a1f092ed0c03a2.tar.gz emacs-8baa84f464c72cfcd08f43a9b7a1f092ed0c03a2.zip | |
auto upstream
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 989c00365a0..19d1ffe0a3b 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -905,7 +905,7 @@ current block, a sibling block, or an outer block. Do that (abs N) times." | |||
| 905 | ((and backward (looking-at "^=end\\>")) | 905 | ((and backward (looking-at "^=end\\>")) |
| 906 | (re-search-backward "^=begin\\>")) | 906 | (re-search-backward "^=begin\\>")) |
| 907 | (t | 907 | (t |
| 908 | (setq pos (current-indentation)) | 908 | (setq pos (ruby-calculate-indent)) |
| 909 | (cond | 909 | (cond |
| 910 | ;; Deeper indentation, we found a block. | 910 | ;; Deeper indentation, we found a block. |
| 911 | ;; FIXME: We can't recognize empty blocks this way. | 911 | ;; FIXME: We can't recognize empty blocks this way. |
| @@ -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 |