Skip to content

Commit ad18cf2

Browse files
committed
Add comment to note that enh-ruby-end-of-block doesn't work for {} blocks atm
1 parent 54123d4 commit ad18cf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enh-ruby-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,7 @@ With ARG, do it that many times."
12991299
(defun enh-ruby-end-of-block (&optional arg)
13001300
"Move forwards across one balanced expression (sexp) looking for a block end.
13011301
With ARG, do it that many times."
1302+
;; this is totally broken for {} blocks! see the -3 below
13021303
(interactive "^p")
13031304
(unless arg (setq arg 1))
13041305
(let (prop

0 commit comments

Comments
 (0)