diff options
author | root <root@rshg054.dnsready.net> | 2012-12-31 01:32:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-31 01:32:52 -0800 |
commit | f503701b04bfc3fbec13acce2abfa9e8df56d2c0 (patch) | |
tree | 33bd1091aa34d345417508caf21775abea68437c /pcr/emacs-newlisp/emacs-newlisp.install | |
parent | 0af0753417e7e506da08650bda80804d0b50e660 (diff) |
Mon Dec 31 01:32:43 PST 2012
Diffstat (limited to 'pcr/emacs-newlisp/emacs-newlisp.install')
-rw-r--r-- | pcr/emacs-newlisp/emacs-newlisp.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/emacs-newlisp/emacs-newlisp.install b/pcr/emacs-newlisp/emacs-newlisp.install new file mode 100644 index 000000000..640e19d16 --- /dev/null +++ b/pcr/emacs-newlisp/emacs-newlisp.install @@ -0,0 +1,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 $* |