summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-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