Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add tuareg-mode + cleanup

  • Loading branch information...
commit bde2d60a3856f6ad193db4987eac09bcbd87b56b 1 parent fbbe0d5
@alexkay authored
View
6 README.md
@@ -1,9 +1,7 @@
`ln -s` or clone the repo to `$HOME/.emacs.d` and install these dependencies:
-* misc/color-theme.el
-* math/ess
* lang/csharp-mode.el
* lang/haskell-mode.el
-* lang/erlang: `ln -s` the installed emacs mode to /usr/local/share/emacs/site-lisp
+* lang/tuareg-mode.el
+* misc/color-theme.el
* textproc/markdown-mode.el
-* devel/psvn
View
8 init-erlang.el
@@ -1,8 +0,0 @@
-;; Erlang
-(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.6.3/emacs" load-path))
-(setq erlang-root-dir "/usr/local/lib/erlang")
-(setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path))
-(require 'erlang-start)
-(require 'erlang-flymake)
-
-(provide 'init-erlang)
View
13 init-ocaml.el
@@ -0,0 +1,13 @@
+(autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
+(autoload 'camldebug "camldebug" "Run the Caml debugger" t)
+(autoload 'tuareg-imenu-set-imenu "tuareg-imenu"
+ "Configuration of imenu for tuareg" t)
+
+(add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu)
+
+(setq auto-mode-alist
+ (append '(("\\.ml[ily]?$" . tuareg-mode)
+ ("\\.topml$" . tuareg-mode))
+ auto-mode-alist))
+
+(provide 'init-ocaml)
View
2  init-perl.el
@@ -9,4 +9,4 @@
cperl-indent-parens-as-block t
cperl-tab-always-indent t)
-(provide 'init-perl)
+(provide 'init-perl)
View
9 init.el
@@ -5,13 +5,10 @@
(require 'init-theme)
(require 'init-c)
-(require 'init-vala)
-(require 'init-python)
(require 'init-csharp)
(require 'init-haskell)
(require 'init-markdown)
+(require 'init-ocaml)
(require 'init-perl)
-;(require 'init-erlang)
-
-;(require 'ess-site)
-(require 'psvn)
+(require 'init-python)
+(require 'init-vala)
Please sign in to comment.
Something went wrong with that request. Please try again.