Simplify haskell-mode-hook
This commit is contained in:
parent
9393cae50d
commit
7fde32a3c5
1 changed files with 1 additions and 5 deletions
|
@ -148,10 +148,6 @@ MODE1 is enabled and vice-versa."
|
|||
"Set the `disabled' property for each item in FUNCTIONS to nil."
|
||||
(mapc #'(lambda (f) (put f 'disabled nil)) functions))
|
||||
|
||||
(defun oni:haskell-mode-func ()
|
||||
"Function for `haskell-mode-hook'."
|
||||
(turn-on-haskell-indentation))
|
||||
|
||||
(defun indent-defun ()
|
||||
"Indent the current defun."
|
||||
(interactive)
|
||||
|
@ -1010,7 +1006,7 @@ If no direction is given, don't split."
|
|||
(add-hook 'git-commit-mode-hook #'oni:set-ispell-local-en-dict)
|
||||
(add-hook 'gnus-exit-group-hook 'oni:update-mailcount)
|
||||
(add-hook 'gnus-exit-gnus-hook 'oni:update-mailcount)
|
||||
(add-hook 'haskell-mode-hook 'oni:haskell-mode-func)
|
||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
|
||||
(add-hook 'outline-minor-mode-hook #'oni:set-tab-maybe-toggle-outline)
|
||||
(add-hook 'scheme-mode-hook (lambda () (setq ac-sources '(ac-source-geiser))))
|
||||
(add-hook 'slime-mode-hook #'set-up-slime-ac)
|
||||
|
|
Loading…
Reference in a new issue