summaryrefslogtreecommitdiff
path: root/pcr/emacs-newlisp-mode-git
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:36:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-05 17:36:12 -0500
commitf9646a57ad356e5686452b8ae2aee00c2da4bd01 (patch)
tree9af43dea4628c4c9b89ee371f37f3bae73c434e3 /pcr/emacs-newlisp-mode-git
parent675c6d705dc29ccf784a07e35dd3f246ca257671 (diff)
Adding emacs-newlisp-mode.install
Diffstat (limited to 'pcr/emacs-newlisp-mode-git')
-rw-r--r--pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install b/pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install
new file mode 100644
index 000000000..4da61dc3e
--- /dev/null
+++ b/pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install
@@ -0,0 +1,17 @@
+post_install() {
+ echo "
+=> Autoloading:
+ ------------
+ In your .emacs or .init.el
+ (add-to-list 'auto-mode-alist '(\"\\\\.lsp\\\\'\" . newlisp-mode))
+ (add-to-list 'interpreter-mode-alist '("newlisp" . newlisp-mode))
+=> Newlisp is started with the Emacs command M-x newlisp-mode."
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}