diff options
author | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
commit | 5ae2d0f4bb7b2d29aca46139292207252616ac1f (patch) | |
tree | 5ddf00b36f0c80c65769409af8be6bffe7643206 /pcr/emacs-tuareg-mode/emacs-tuareg-mode.install | |
parent | 0019e0942eb838ccf7fa72962e0f0d9f49cd1cf4 (diff) | |
download | abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.tar.gz abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.tar.bz2 abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.zip |
humm be
Diffstat (limited to 'pcr/emacs-tuareg-mode/emacs-tuareg-mode.install')
-rw-r--r-- | pcr/emacs-tuareg-mode/emacs-tuareg-mode.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/emacs-tuareg-mode/emacs-tuareg-mode.install b/pcr/emacs-tuareg-mode/emacs-tuareg-mode.install new file mode 100644 index 000000000..f9ee9c970 --- /dev/null +++ b/pcr/emacs-tuareg-mode/emacs-tuareg-mode.install @@ -0,0 +1,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 +} |