summarylogtreecommitdiffstats
path: root/emacs-newlisp-mode.install
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-newlisp-mode.install')
-rw-r--r--emacs-newlisp-mode.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/emacs-newlisp-mode.install b/emacs-newlisp-mode.install
new file mode 100644
index 00000000000..4da61dc3ea0
--- /dev/null
+++ b/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
+}