aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el4
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