General minor refactor & docstring fixes
This commit is contained in:
parent
67dab98859
commit
bb88411cc9
9 changed files with 27 additions and 28 deletions
|
@ -1,10 +0,0 @@
|
|||
;;; lang/haskell/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +haskell|init-intero ()
|
||||
"Initializes `intero-mode' in haskell-mode, unless stack isn't installed.
|
||||
This is necessary because `intero-mode' doesn't do its own error checks."
|
||||
(when (derived-mode-p 'haskell-mode)
|
||||
(if (executable-find "stack")
|
||||
(intero-mode +1)
|
||||
(message "Couldn't find stack. Refusing to enable intero-mode."))))
|
Loading…
Add table
Add a link
Reference in a new issue