Skip to content

Commit

Permalink
check bol properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Le Wang committed Oct 13, 2012
1 parent ec54fc2 commit fed87e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ Delete ARG spaces if ARG!=1."
(= (point) (save-excursion
(back-to-indentation)
(point)))
(not old-bolp))
(not (bolp)))
(let ((extra-space-count (% (current-column) coffee-tab-width)))
(backward-delete-char-untabify
(if (zerop extra-space-count)
Expand Down

0 comments on commit fed87e1

Please sign in to comment.