Skip to content

Commit 1f620bc

Browse files
authored
Merge branch 'master' into improve-cabal-comments
2 parents 5604aab + 9780794 commit 1f620bc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

haskell-c2hs.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
(add-to-list 'auto-mode-alist '("\\.chs\\'" . haskell-c2hs-mode))
3535

3636
(defface haskell-c2hs-hook-pair-face
37-
'((t (:inherit 'font-lock-preprocessor-face)))
37+
'((t (:inherit font-lock-preprocessor-face)))
3838
"Face for highlighting {#...#} pairs."
3939
:group 'haskell)
4040

4141
(defface haskell-c2hs-hook-name-face
42-
'((t (:inherit 'font-lock-keyword-face)))
42+
'((t (:inherit font-lock-keyword-face)))
4343
"Face for highlighting c2hs hook names."
4444
:group 'haskell)
4545

haskell-cabal.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ it from list if one of the following conditions are hold:
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)
177177
(setq-local comment-start "--")
178-
(setq-local comment-start-skip "\\(^[ \t]*\\)--[ \t]*")
178+
(setq-local comment-start-skip "--[ \t]*")
179179
(setq-local comment-end "")
180180
(setq-local comment-end-skip "[ \t]*\\(\\s>\\|\n\\)")
181181
(setq-local indent-line-function 'haskell-cabal-indent-line)

haskell-commands.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
(defcustom haskell-mode-stylish-haskell-args nil
4747
"Arguments to pass to program specified by haskell-mode-stylish-haskell-path."
4848
:group 'haskell
49-
:type 'list)
49+
:type '(list string))
5050

5151
(defcustom haskell-interactive-set-+c
5252
t

0 commit comments

Comments
 (0)