blob: f2800d85433a1142de501c0a13b8ac69b1b534d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
post_install() {
echo "Adding Info-File"
install-info /usr/share/info/slime.info.gz /usr/share/info/dir 2>/dev/null
cat << EOF
:: To make use of slime, add the following lines to your
:: init file:
(setq inferior-lisp-program "/path/to/lisp-executable")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/")
(require 'slime)
(slime-setup)
:: Then run 'M-x slime' from within emacs.
EOF
}
post_upgrade() { post_install; }
pre_remove() {
echo "Removing Info-File"
install-info --delete /usr/share/info/slime.info.gz /usr/share/info/dir 2>/dev/null
}
post_remove() {
cat << EOF
You may want to remove slime related stuff from your init file
especially the inferior-lisp-program variable
EOF
}
|