Fork me on GitHub
#emacs
<
2018-01-06
>
qqq05:01:10

(progn ;; * lispy 
  (add-hook 'clojure-mode (lambda () (lispy-mode 1))) 
  (add-hook 'clojurescript-mode (lambda () (lispy-mode 1))) 
  (add-hook 'clojurec-mode (lambda () (lispy-mode 1))) 
  (add-hook 'lispy-mode-hook #'lispyville-mode))
is this buggy? lispy does not seem to be running when I enter clojurec-mode

dpsutton07:01:09

you need to hook up to clojure-mode-hook i thought. you just have mode there

bozhidar09:01:56

Also - you don’t need to do this for modes derived from clojure-mode.

bozhidar09:01:31

And you can simplify this to just (add-hook 'clojure-mode-hook 'lispy-mode)

qqq10:01:31

is it 'lispy-mode or #'lispy-mode ?

qqq10:01:20

hmm, plain 'lispy-mode worked

qqq10:01:34

weird, copy-pasted init.el has:

(progn ;; * lispy 
  (add-hook 'lisp-mode-hook 'lispy-mode) 
  (add-hook 'emacs-lisp-mode-hook 'lispy-mode) 
  (add-hook 'clojure-mode-hook 'lispy-mode) 
  (add-hook 'lispy-mode-hook #'lispyville-mode))

qqq10:01:41

so for whatever reason, lispyville-mode iks a #'

gfredericks23:01:49

is there an official way to set the opts for the embedded version of puget?