summaryrefslogtreecommitdiff
path: root/misc/ruby-mode.el
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-30 11:11:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-30 11:11:53 +0000
commitd4b764c2cff83eb0dac0d19cfeb5092be21f1a31 (patch)
treeaae608ced335c79395500d70c69d61ab19be923d /misc/ruby-mode.el
parentc67865a2b783892d6a3f40aac2444631694096b7 (diff)
sorry, ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r--misc/ruby-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 139bebcebc..411e4af936 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -153,13 +153,13 @@ Also ignores spaces after parenthesis when 'space.")
(concat (substring prefix 0 -1) (substring name 4)))
(t (concat prefix name)))))
(push (cons name pos) index-alist)
- (ruby-accurate-end-of-block))
+ (ruby-accurate-end-of-block end))
(t
(if (string= "self" name)
(if prefix (setq name (substring prefix 0 -1)))
(if prefix (setq name (concat (substring prefix 0 -1) "::" name)))
(push (cons name pos) index-alist))
- (ruby-accurate-end-of-block)
+ (ruby-accurate-end-of-block end)
(setq beg (point))
(setq index-alist
(nconc (ruby-imenu-create-index-in-block