summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}