diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-13 12:52:18 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-13 12:52:18 +0200 |
commit | a842cb946a0da7dfca6615eb3d55e666f8b6b2dc (patch) | |
tree | 9207479120018e32a740e3470882da574f7de377 /doc | |
parent | 7aa985c0d3ae248c9bea09c07eb7d09ebfd7914d (diff) |
Mention cider-repl-scroll-on-output in the manual
Diffstat (limited to 'doc')
-rw-r--r-- | doc/using_the_repl.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/using_the_repl.md b/doc/using_the_repl.md index e9888cfd..20e6bc07 100644 --- a/doc/using_the_repl.md +++ b/doc/using_the_repl.md @@ -152,6 +152,20 @@ following snippet: (setq cider-repl-tab-command #'indent-for-tab-command) ``` +#### Auto-scrolling the REPL on Output + +By default if the REPL buffer contains more lines than the size of the +(Emacs) window, the buffer is automatically re-centered upon +completion of evaluating an expression, so that the bottom line of +output is on the bottom line of the window. + +If you don't like this re-centering you can disable it like this: + +```el +(setq cider-repl-scroll-on-output nil) +``` + + #### Result Prefix Change the result prefix for REPL evaluation (by default there's no prefix): |