emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-clojure 8247c43 067/313: Add ElDoc info to README


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure 8247c43 067/313: Add ElDoc info to README
Date: Wed, 11 Aug 2021 09:59:48 -0400 (EDT)

branch: elpa/inf-clojure
commit 8247c430b85e2c478cc6f8e8d57e4c58f8a109c2
Author: Okke Tijhuis <o.tijhuis@gmail.com>
Commit: Okke Tijhuis <o.tijhuis@gmail.com>

    Add ElDoc info to README
---
 README.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/README.md b/README.md
index 159f7c1..85ee9c7 100644
--- a/README.md
+++ b/README.md
@@ -54,6 +54,26 @@ result will be nothing short of havoc.**
 
 `M-x inf-clojure` or `C-c C-z` within a Clojure source file.
 
+## ElDoc
+
+`eldoc-mode` is supported in Clojure source buffers and `*inferior-clojure*`
+buffers which are running a Clojure REPL.
+
+When ElDoc is enabled and there is an active REPL, it will show the
+argument list of the function call you are currently editing in the
+echo area.
+
+You can activate ElDoc with `M-x eldoc-mode` or by adding the
+following to you Emacs config:
+
+```el
+(add-hook 'clojure-mode-hook #'eldoc-mode)
+(add-hook 'inf-clojure-mode-hook #'eldoc-mode)
+```
+
+ElDoc currently doesn't work with ClojureScript buffers and REPL's.
+You can leave it enabled, it just won't show anything in the echo area.
+
 ## Troubleshooting
 
 ### REPL not responsive in Windows OS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]