branch: elpa/cider commit 6ab3da3b3a192efe0da29d084e6653d1bbaa923e Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@batsov.dev>
[Docs] Document cider-connection-message-fn --- doc/modules/ROOT/pages/config/basic_config.adoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/modules/ROOT/pages/config/basic_config.adoc b/doc/modules/ROOT/pages/config/basic_config.adoc index ed3bda77b9..d3f8c2de21 100644 --- a/doc/modules/ROOT/pages/config/basic_config.adoc +++ b/doc/modules/ROOT/pages/config/basic_config.adoc @@ -131,6 +131,22 @@ If you're fine with installing a third-party package for enhanced minibuffer completion you can't go wrong with the modern and versatile http://oremacs.com/2015/04/16/ivy-mode/[ivy]. +== Message Displayed on Connect + +By default CIDER will display an inspirational message when a new connection is +established. This behavior is configurable via `cider-connection-message-fn`: + +[source,lisp] +---- +;; make the message more educational +(setq cider-connection-message-fn #'cider-random-tip) +;; disable this extra message altogether +(setq cider-connection-message-fn nil) +---- + +IMPORTANT: This is probably one of the most important CIDER features. Disable +those amazing messages at your own risk! + == Log nREPL Communications If you want to see all communications between CIDER and the nREPL