summaryrefslogtreecommitdiff
path: root/pcr/emacs-newlisp/emacs-newlisp.install
diff options
context:
space:
mode:
authoraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
committeraurelien <tek@localhost.localdomain>2012-12-30 18:57:37 +0100
commitb6cb10de275cea63bab0bee2a98342afa4fdc4ee (patch)
tree9736770dbd6bf695a100eb88a00de98b70a9f262 /pcr/emacs-newlisp/emacs-newlisp.install
parentd731a980f156ec8d47292e47b63a17bced3d0268 (diff)
+ chm2pdf newlisp emacs-newlisp
Diffstat (limited to 'pcr/emacs-newlisp/emacs-newlisp.install')
-rw-r--r--pcr/emacs-newlisp/emacs-newlisp.install26
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 $*