Skip to content

Commit 84413d2

Browse files
committed
add clmm hook to preface
1 parent fb49810 commit 84413d2

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

emacs/lisp/frap-coding.el

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,20 +244,19 @@ word. Fall back to regular `expreg-expand'."
244244
(save-excursion
245245
(mark-sexp)
246246
(indent-region (point) (mark))))))
247-
:bind ( :map common-lisp-modes-mode-map ;; not lisp-mode-shared-map ?
248-
("M-q" . indent-sexp-or-fill))
249-
:config
250-
(dolist (hook '(common-lisp-mode-hook
247+
(dolist (hook '(common-lisp-mode-hook
251248
clojure-mode-hook
252249
cider-repl-mode
253250
racket-mode-hook
254251
fennel-mode-hook
255252
shell-mode-hook
256253
eval-expression-minibuffer-setup-hook))
257254
(add-hook hook 'common-lisp-modes-mode))
255+
:bind ( :map common-lisp-modes-mode-map ;; not lisp-mode-shared-map ?
256+
("M-q" . indent-sexp-or-fill))
257+
:config
258258
(add-hook 'common-lisp-modes-mode-hook #'puni-mode)
259-
(add-hook 'common-lisp-modes-mode-hook #'rainbow-delimiters-mode)
260-
)
259+
(add-hook 'common-lisp-modes-mode-hook #'rainbow-delimiters-mode))
261260

262261
;;;; CSS Web
263262
(use-feature css-mode

0 commit comments

Comments
 (0)