Skip to content

Commit 1b3f4a6

Browse files
committed
cabal-mode: don't include space in comment-start
The point of this space is to add padding, however in Emacs comment padding is controlled by `comment-padding` which defaults to one space exactly.
1 parent 2163e0d commit 1b3f4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haskell-cabal.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ it from list if one of the following conditions are hold:
174174
(add-to-list 'haskell-cabal-buffers (current-buffer))
175175
(add-hook 'change-major-mode-hook 'haskell-cabal-unregister-buffer nil 'local)
176176
(add-hook 'kill-buffer-hook 'haskell-cabal-unregister-buffer nil 'local)
177-
(setq-local comment-start "-- ")
177+
(setq-local comment-start "--")
178178
(setq-local comment-start-skip "\\(^[ \t]*\\)--[ \t]*")
179179
(setq-local comment-end "")
180180
(setq-local comment-end-skip "[ \t]*\\(\\s>\\|\n\\)")

0 commit comments

Comments
 (0)