Skip to content

Commit dd921a8

Browse files
Conditionally load paredit and clojure-mode
1 parent 5c302fa commit dd921a8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

starter-kit-lisp.org

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ much more comfortable experience. This is especially useful in
2929
combination with the sexp movement functions (=C-M-f= forward, =C-M-b=
3030
back, =C-M-u= up, =C-M-d= down)
3131

32+
33+
#+begin_src emacs-lisp
34+
(starter-kit-install-if-needed 'paredit)
35+
#+end_src
36+
3237
#+begin_src emacs-lisp
3338
(require 'paredit)
3439
(defun turn-on-paredit ()
@@ -83,6 +88,10 @@ back, =C-M-u= up, =C-M-d= down)
8388
:CUSTOM_ID: clojure
8489
:END:
8590

91+
#+begin_src emacs-lisp
92+
(starter-kit-install-if-needed 'clojure-mode)
93+
#+end_src
94+
8695
#+begin_src emacs-lisp
8796
(require 'clojure-mode)
8897

0 commit comments

Comments
 (0)