;;Loading TypeRex mode for OCaml files (add-to-list 'load-path "@SITELISP@") (add-to-list 'auto-mode-alist '("\\.ml[iylp]?" . typerex-mode)) (add-to-list 'interpreter-mode-alist '("ocamlrun" . typerex-mode)) (add-to-list 'interpreter-mode-alist '("ocaml" . typerex-mode)) (autoload 'typerex-mode "typerex" "Major mode for editing Caml code" t) ;; TypeRex mode configuration (setq ocp-server-command "/usr/bin/ocp-wizard") (setq-default indent-tabs-mode nil)