Skip to content

Commit

Permalink
Bind clojure-fill-docstring in correct mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Relevance Pair committed Dec 12, 2011
1 parent f905fd0 commit e8963e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.el
Expand Up @@ -724,7 +724,9 @@ returned."
(fill-paragraph nil t)
(buffer-substring-no-properties (+ 2 (point-min)) (point-max)))))))))

(define-key paredit-mode-map (kbd "C-c M-q") 'clojure-fill-docstring)
(add-hook 'clojure-mode-hook
(lambda ()
(define-key clojure-mode-map (kbd "C-c M-q") 'clojure-fill-docstring)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
Expand Down

0 comments on commit e8963e3

Please sign in to comment.