blob: c9db76e7d37fec4dd91c13989c05d12d3126654b (
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
|
post_install () {
cat << EOF
==> Add this code to your .emacs file to use the mode:
(require 'lispy)
==> Then, for any modes for which you want to activate lispy:
(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1)))
(add-hook 'clojure-mode-hook (lambda () (lispy-mode 1)))
==> Or do the above with use-package:
(use-package lispy
:config
(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1))) ; For Elisp
(add-hook 'clojure-mode-hook (lambda () (lispy-mode 1)))) ; For Clojure
EOF
}
post_upgrade () {
post_install $1
}
|