diff options
Diffstat (limited to 'sample')
-rw-r--r-- | sample/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el index c2410f1fe6..7b9549612c 100644 --- a/sample/ruby-mode.el +++ b/sample/ruby-mode.el @@ -660,7 +660,7 @@ An end of a defun is found by moving forward from the beginning of one." '("\\(^\\|[^_]\\)\\b\\([A-Z]+[a-zA-Z0-9_]*\\)" 2 font-lock-type-face) ;; functions - '("^\\s *def[ \t]+[^ \t(]*$" + '("^\\s *def[ \t]+[^ \t(]*" 0 font-lock-function-name-face t)) "*Additional expressions to highlight in ruby mode.") (if (and (>= (string-to-int emacs-version) 19) |