File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
* The results of ` clojure-project-dir ` are cached by default to optimize performance.
9
9
* Add ` shadow-cljs.edn ` to the default list of build tool files.
10
10
* [ #478 ] ( https://github.com/clojure-emacs/clojure-mode/issues/478 ) : Cache the result of ` clojure-find-ns ` to optimize performance.
11
+ * New interactive commands ` clojure-show-cache ` and ` clojure-clear-cache ` .
12
+ * Add basic integration with ` project.el ` .
11
13
12
14
## 5.7.0 (2018-04-29)
13
15
Original file line number Diff line number Diff line change @@ -550,7 +550,9 @@ replacement for `cljr-expand-let`."
550
550
; ; `electric-layout-post-self-insert-function' prevents indentation in strings
551
551
; ; and comments, force indentation in docstrings:
552
552
(add-hook 'electric-indent-functions
553
- (lambda (_char ) (if (clojure-in-docstring-p) 'do-indent ))))
553
+ (lambda (_char ) (if (clojure-in-docstring-p) 'do-indent )))
554
+ ; ; integration with project.el
555
+ (add-hook 'project-find-functions #'clojure-project-dir ))
554
556
555
557
(defcustom clojure-verify-major-mode t
556
558
" If non-nil, warn when activating the wrong `major-mode' ."
You can’t perform that action at this time.
0 commit comments