File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ integration.
20
20
search function/var names (bound to <kbd >C-c C-d a</kbd >) or documentation
21
21
(bound to <kbd >C-c C-d A</kbd >).
22
22
* You can open Grimoire's entry for a particular Clojure (built-in) symbol with
23
- ` cider-grimoire ` (<kbd >C-c C-d g</kbd >).
23
+ ` cider-grimoire ` (<kbd >C-c C-d g</kbd >).
24
+ * ` cider-mode ` now displays the namespace of the current buffer in the mode-line
25
+ (as SLIME does).
24
26
25
27
### Changes
26
28
Original file line number Diff line number Diff line change 32
32
33
33
(require 'cider-interaction )
34
34
35
+ ;;;### autoload
36
+ (defcustom cider-mode-line
37
+ '(" cider" (:eval (format " [%s ] " (cider-current-ns))))
38
+ " Mode line ligher for `cider-mode' .
39
+
40
+ The value of this variable is a mode line template as in
41
+ `mode-line-format' . See Info Node `(elisp)Mode Line Format' for
42
+ details about mode line templates.
43
+
44
+ Customize this variable to change how `cider-mode' displays its
45
+ status in the mode line. The default value displays the current ns.
46
+ Set this variable to nil to disable the mode line
47
+ entirely."
48
+ :group 'cider
49
+ :type 'sexp
50
+ :risky t
51
+ :package-version '(cider " 0.7.0" ))
52
+
35
53
(defvar cider-mode-map
36
54
(let ((map (make-sparse-keymap )))
37
55
(define-key map (kbd " M-." ) 'cider-jump )
133
151
134
152
\\ {cider-mode-map}"
135
153
nil
136
- " cider"
154
+ cider-mode-line
137
155
cider-mode-map
138
156
(make-local-variable 'completion-at-point-functions )
139
157
(add-to-list 'completion-at-point-functions
You can’t perform that action at this time.
0 commit comments