File: ghc-mod.emacsen-startup

package info (click to toggle)
ghc-mod 4.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 492 kB
  • ctags: 199
  • sloc: haskell: 2,267; lisp: 1,162; sh: 34; makefile: 33
file content (10 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (4)
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)