Skip to content

Commit

Permalink
fix `haskell-process-extract-modules' for ghc 8.2
Browse files Browse the repository at this point in the history
ghc 8.2 reports only a number of loaded modules
  • Loading branch information
pvmart committed Nov 23, 2017
1 parent 9018ad5 commit d92931d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haskell-load.el
Expand Up @@ -332,7 +332,7 @@ list of modules where missed IDENT was found."
(defun haskell-process-extract-modules (buffer)
"Extract the modules from the process buffer."
(let* ((modules-string (match-string 1 buffer))
(modules (split-string modules-string ", ")))
(modules (and modules-string (split-string modules-string ", "))))
(cons modules modules-string)))

;;;###autoload
Expand Down

0 comments on commit d92931d

Please sign in to comment.