diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-02 16:04:44 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-01-02 16:04:44 -0200 |
commit | 1bf5038b88434788f223abbfe4d40711980662f8 (patch) | |
tree | 820b68fff118e27405a8265e929539f133183a42 /pcr/emacs-newlisp/emacs-newlisp.install | |
parent | 018aa5ccf0a2fdd350d7cfe2f2022e4ed8290429 (diff) | |
parent | 593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/emacs-newlisp/emacs-newlisp.install')
-rw-r--r-- | pcr/emacs-newlisp/emacs-newlisp.install | 26 |
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 $* |