# vim: set ft=sh:
post_install() {
  echo "
=> Autoloading:
  ------------
  In your .emacs or .init.el
  (add-to-list 'load-path (expand-file-name \"/usr/share/emacs/site-lisp/newlisp-mode\"))
  (add-to-list 'auto-mode-alist '(\"\\\\.lsp\\\\'\" . newlisp-mode))
  (autoload 'newlisp-mode \"newlisp\" \"Turn on NewLisp mode\" t)
  (turn-on-font-lock)

=> Newlisp is started with the Emacs command M-x newlisp-mode."
}

post_upgrade() {
  post_install $1
}

post_remove() {
  post_install
}

op=$1
shift

$op $*