1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

sorry, ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-07-30 11:11:53 +00:00
parent c67865a2b7
commit d4b764c2cf

View file

@ -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