diff options
Diffstat (limited to 'misc/ruby-mode.el')
-rw-r--r-- | misc/ruby-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index d017030d94..46b23be21c 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -235,6 +235,7 @@ The variable ruby-indent-level controls the amount of indentation. (narrow-to-region (point) end) (while (and (> indent-point (point)) (re-search-forward ruby-delimiter indent-point t)) + (or depth (setq depth 0)) (let ((pnt (point)) w) (goto-char (match-beginning 0)) (cond |