diff options
Diffstat (limited to 'app-emacs/haskell-mode/files')
-rw-r--r-- | app-emacs/haskell-mode/files/50haskell-mode-gentoo.el | 19 | ||||
-rw-r--r-- | app-emacs/haskell-mode/files/digest-haskell-mode-1.44 | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el b/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el new file mode 100644 index 000000000000..861eef194c81 --- /dev/null +++ b/app-emacs/haskell-mode/files/50haskell-mode-gentoo.el @@ -0,0 +1,19 @@ + +;;; uboat site-lisp configuration + +(setq load-path (cons "@SITELISP@" load-path)) +(setq auto-mode-alist + (append auto-mode-alist + '(("\\.[hg]s$" . haskell-mode) + ("\\.hi$" . haskell-mode) + ("\\.l[hg]s$" . literate-haskell-mode)))) +(autoload 'haskell-mode "haskell-mode" + "Major mode for editing Haskell scripts." t) +(autoload 'literate-haskell-mode "haskell-mode" + "Major mode for editing literate Haskell scripts." t) +(add-hook 'haskell-mode-hook 'turn-on-haskell-font-lock) +(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan) +(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) +(add-hook 'haskell-mode-hook 'turn-on-haskell-indent) +(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent) +(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs) diff --git a/app-emacs/haskell-mode/files/digest-haskell-mode-1.44 b/app-emacs/haskell-mode/files/digest-haskell-mode-1.44 new file mode 100644 index 000000000000..33cfd29bfc92 --- /dev/null +++ b/app-emacs/haskell-mode/files/digest-haskell-mode-1.44 @@ -0,0 +1 @@ +MD5 8317d8bf8588e254e753977e48ad3bf6 haskell-mode-1.44.tar.gz 58601 |