Skip to content
Browse files

need to add to paredit-mode-hook *before* running clojure-mode-hook

  • Loading branch information...
1 parent a58d43f commit f210249b372521fd11a5403f5251f12a1677b9a3 @jsnikeris jsnikeris committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 clojure-mode.el
View
8 clojure-mode.el
@@ -188,14 +188,14 @@ if that value is non-nil."
(clojure-mode-font-lock-setup)
- (run-mode-hooks 'clojure-mode-hook)
- (run-hooks 'prog-mode-hook)
-
(add-hook 'paredit-mode-hook
(lambda ()
(when (>= paredit-version 21)
(define-key paredit-mode-map "{" 'paredit-open-curly)
- (define-key paredit-mode-map "}" 'paredit-close-curly)))))
+ (define-key paredit-mode-map "}" 'paredit-close-curly))))
+
+ (run-mode-hooks 'clojure-mode-hook)
+ (run-hooks 'prog-mode-hook))
(defun clojure-display-inferior-lisp-buffer ()
"Display a buffer bound to `inferior-lisp-buffer'."

0 comments on commit f210249

Please sign in to comment.
Something went wrong with that request. Please try again.