File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,26 @@ result will be nothing short of havoc.**
54
54
55
55
` M-x inf-clojure ` or ` C-c C-z ` within a Clojure source file.
56
56
57
+ ## ElDoc
58
+
59
+ ` eldoc-mode ` is supported in Clojure source buffers and ` *inferior-clojure* `
60
+ buffers which are running a Clojure REPL.
61
+
62
+ When ElDoc is enabled and there is an active REPL, it will show the
63
+ argument list of the function call you are currently editing in the
64
+ echo area.
65
+
66
+ You can activate ElDoc with ` M-x eldoc-mode ` or by adding the
67
+ following to you Emacs config:
68
+
69
+ ``` el
70
+ (add-hook 'clojure-mode-hook #'eldoc-mode)
71
+ (add-hook 'inf-clojure-mode-hook #'eldoc-mode)
72
+ ```
73
+
74
+ ElDoc currently doesn't work with ClojureScript buffers and REPL's.
75
+ You can leave it enabled, it just won't show anything in the echo area.
76
+
57
77
## Troubleshooting
58
78
59
79
### REPL not responsive in Windows OS
You can’t perform that action at this time.
0 commit comments