Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ab1ec6a

Browse files
committedNov 26, 2015
move haskell-stylish-save to haskell-customize
The immediate motivation is that haskell-modules depends on this variable due to the previous commit, b6871d1.
1 parent b6871d1 commit ab1ec6a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
 

‎haskell-customize.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,13 @@ same vein as `haskell-indent-spaces'."
404404
:group 'haskell
405405
:type '(repeat 'string))
406406

407+
;;;###autoload
408+
(defcustom haskell-stylish-on-save nil
409+
"Whether to run stylish-haskell on the buffer before saving.
410+
If this is true, `haskell-add-import' will not sort or align the
411+
imports."
412+
:group 'haskell
413+
:type 'boolean)
407414

408415
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
409416
;; Accessor functions

‎haskell-mode.el

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -820,14 +820,6 @@ Note that negative arguments do not work so well."
820820
(const "ghc -fno-code")
821821
(string :tag "Other command")))
822822

823-
;;;###autoload
824-
(defcustom haskell-stylish-on-save nil
825-
"Whether to run stylish-haskell on the buffer before saving.
826-
If this is true, `haskell-add-import' will not sort or align the
827-
imports."
828-
:group 'haskell
829-
:type 'boolean)
830-
831823
;;;###autoload
832824
(defcustom haskell-tags-on-save nil
833825
"Generate tags via hasktags after saving."

‎haskell-modules.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
(require 'haskell-navigate-imports)
2424
(require 'haskell-complete-module)
2525
(require 'haskell-sandbox)
26+
(require 'haskell-customize)
2627

2728
(defun haskell-add-import (&optional module)
2829
"Add an import to the import list. Sorts and aligns imports,

0 commit comments

Comments
 (0)
Please sign in to comment.