summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-23 10:39:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-23 10:39:02 +0000
commit30ce83d0abf24722afa434d66dcbf486b29bbca6 (patch)
tree329039ba97c47691a7cb2306f1748f302fb5fda5 /sample
parentdb34086b5be1f5751156f39fb99bfc94b716df0f (diff)
tempfile.rb modified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@50 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/ruby-mode.el b/sample/ruby-mode.el
index fb96b548f2..f5bc1d1b3b 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -632,7 +632,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]+.*$"
+ '("^\\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) 20)