File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1057,12 +1057,12 @@ See `haskell-check-command' for the default."
1057
1057
1058
1058
(defun haskell-flymake-init ()
1059
1059
" Flymake init function for Haskell."
1060
- (let ((checker-elts ( and haskell-saved-check-command
1061
- (split-string haskell-saved-check-command) )))
1062
- (list (car checker-elts)
1063
- (append (cdr checker-elts)
1064
- (list (haskell-flymake-create-temp-buffer-copy
1065
- 'flymake-create-temp-inplace ))))))
1060
+ (when haskell-saved-check-command
1061
+ ( let ((checker-elts (split-string haskell-saved-check-command)))
1062
+ (list (car checker-elts)
1063
+ (append (cdr checker-elts)
1064
+ (list (haskell-flymake-create-temp-buffer-copy
1065
+ 'flymake-create-temp-inplace ) ))))))
1066
1066
1067
1067
(add-to-list 'flymake-allowed-file-name-masks '(" \\ .l?hs\\ '" haskell-flymake-init))
1068
1068
You can’t perform that action at this time.
0 commit comments