summaryrefslogtreecommitdiff
path: root/pcr/emacs-tuareg-mode/emacs-tuareg-mode.install
blob: f9ee9c9706f6bf5e4418855d6365c236371a0d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    cat <<__EOF__
==> Put this in your $HOME/.emacs file to enable tuareg-mode autoloading
==> and autorecognition of ocaml source files:

  (setq auto-mode-alist (cons '("\\\\.ml[iylp]?\\\\'" . tuareg-mode) auto-mode-alist))
  (autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
  (autoload 'ocamldebug "ocamldebug" "Run the Caml debugger" t)

==> Note to users of previous versions: 'camldebug' is now known as 'ocamldebug'
__EOF__
}


post_upgrade() {
    post_install
}