summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-17 09:29:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-04-17 09:29:36 +0000
commit4c97b921f2f6d71d7a3f2c0b2c0c089b15686973 (patch)
tree7c0bd6b3abad22d25c3014052fd72a58ea07be51 /sample
parent693efbb71035dede6459e0e5b73a5acdf38e5d90 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@174 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 f7e2fddbfa..3a5bab86ce 100644
--- a/sample/ruby-mode.el
+++ b/sample/ruby-mode.el
@@ -655,7 +655,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)