From f9646a57ad356e5686452b8ae2aee00c2da4bd01 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Tue, 5 May 2015 17:36:12 -0500 Subject: Adding emacs-newlisp-mode.install --- pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pcr/emacs-newlisp-mode-git/emacs-newlisp-mode.install (limited to 'pcr/emacs-newlisp-mode-git') 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 +} -- cgit v1.2.3-54-g00ecf