Skip to content
Browse files

do not leave trailing whitespaces on newline

  • Loading branch information...
1 parent 37b481e commit 74a91351d1f4f68526bfdb40fb0f34d4fd12e7bf @piranha piranha committed with
Showing with 1 addition and 0 deletions.
  1. +1 −0 coffee-mode.el
View
1 coffee-mode.el
@@ -485,6 +485,7 @@ For detail, see `comment-dwim'."
;; insert a newline, and indent the newline to the same
;; level as the previous line.
(let ((prev-indent (current-indentation)) (indent-next nil))
+ (delete-horizontal-space t)
(newline)
(insert-tab (/ prev-indent coffee-tab-width))

0 comments on commit 74a9135

Please sign in to comment.
Something went wrong with that request. Please try again.