File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ This variable specifies both what was expanded and the expander.")
66
66
" Macroexpand, use EXPANDER, the given EXPR."
67
67
(let* ((expansion (cider-macroexpansion expander expr)))
68
68
(setq cider-last-macroexpand-expression expr)
69
- (cider-initialize-macroexpansion-buffer expansion nrepl-buffer -ns)))
69
+ (cider-initialize-macroexpansion-buffer expansion (cider-current -ns) )))
70
70
71
71
(defun cider-macroexpand-expr-inplace (expander )
72
72
" Substitute the form preceding point with its macroexpansion using EXPANDER."
@@ -146,6 +146,9 @@ and point is placed at CURRENT-POINT."
146
146
(let ((map (make-sparse-keymap )))
147
147
(define-key map (kbd " g" ) 'cider-macroexpand-again )
148
148
(define-key map (kbd " q" ) 'cider-popup-buffer-quit-function )
149
+ (define-key map (kbd " d" ) 'cider-doc )
150
+ (define-key map (kbd " j" ) 'cider-javadoc )
151
+ (define-key map (kbd " ." ) 'cider-jump-to-var )
149
152
(cl-labels ((redefine-key (from to)
150
153
(dolist (mapping (where-is-internal from cider-mode-map))
151
154
(define-key map mapping to))))
You can’t perform that action at this time.
0 commit comments