(add-hook
'tuareg-mode-hook
'(lambda ()
;; indentation rules
(setq tuareg-lazy-= t)
(setq tuareg-lazy-paren t)
(setq tuareg-in-indent 0)
(setq tuareg-electric-indent nil)
(setq tuareg-leading-star-in-doc t)
(setq tuareg-with-indent 0)
(setq tuareg-library-path "/usr/local/lib/ocaml/")
;; turn on auto-fill minor mode
(auto-fill-mode 1)
;; Sym-Lock customization only
;; turn off special face under mouse
(if (featurep 'sym-lock)
(setq sym-lock-mouse-face-enabled nil))
;; ocamlspot and other keys
(local-set-key "\C-c;" 'ocamlspot-query)
(local-set-key "\C-c\C-t" 'ocamlspot-type)
(local-set-key "\C-c\C-y" 'ocamlspot-type-and-copy)
(local-set-key "\C-c\C-u" 'ocamlspot-use)
(local-set-key "\C-cT" 'caml-types-show-type)
))