Commits

kenko committed d618b89

remove reference to cleanup-buffer-modes

  • Participants
  • Parent commits bbb44e1

Comments (0)

Files changed (1)

 *** Haskell
 #+SRCNAME haskell
 #+BEGIN_SRC emacs-lisp
-
-(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)
-(require 'haskell-mode)
-(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-hugs)
-(setq cleanup-buffer-modes (delq 'haskell-mode cleanup-buffer-modes))
+  
+  (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)
+  (require 'haskell-mode)
+  (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-hugs)
+  ;(setq cleanup-buffer-modes (delq 'haskell-mode cleanup-buffer-modes))
+  
 #+END_SRC
 *** Python
 #+begin_src emacs-lisp