summaryrefslogtreecommitdiff
path: root/p/ghc-mod/debian/ghc-mod-el.emacsen-startup
blob: 4d68a91b52cf8be18c5a0eccfad139542dfcbfbf (plain)
1
2
3
4
5
6
7
8
9
10
;; -*-emacs-lisp-*-
(setq load-path (cons (concat "/usr/share/"
                              (symbol-name debian-emacs-flavor)
			      "/site-lisp/ghc-mod") load-path))

(autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init)))

; ghc-mod's C-cC-t conflict with haskell-doc-mode
(remove-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)