summaryrefslogtreecommitdiff
path: root/pcr/emacs-newlisp/emacs-newlisp.install
blob: 640e19d167214cdcdb8d19be0b3260802c515891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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 $*