Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed inf loop in coffee-previous-indent

  • Loading branch information...
commit f4597a051d823346f67f30e06910efea530aacf0 1 parent 8a3d6f5
@typester typester authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  coffee-mode.el
View
2  coffee-mode.el
@@ -469,7 +469,7 @@ For detail, see `comment-dwim'."
(if (bobp)
0
(progn
- (while (coffee-line-empty-p) (forward-line -1))
+ (while (and (coffee-line-empty-p) (not (bobp))) (forward-line -1))
(current-indentation)))))
(defun coffee-line-empty-p ()
Please sign in to comment.
Something went wrong with that request. Please try again.