summarylogtreecommitdiffstats
path: root/emacs-moonscript-mode.install
blob: 472939a768241e69f0c82f497dd456d8a2048131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    cat <<EOF
==> Include something like this in your .emacs:
(autoload 'moonscript-mode "moonscript-mode"
   "Major mode for editing MoonScript source files" t)
(add-to-list 'auto-mode-alist '("\\.moon\\'" . moonscript-mode))
(require 'moonscriptrepl-mode)
EOF
}

post_upgrade() {
  post_install $1
}