Function: cider-repl-trim-buffer

cider-repl-trim-buffer is an interactive and byte-compiled function defined in cider-repl.el.

Signature

(cider-repl-trim-buffer)

Documentation

Trim the currently visited REPL buffer partially from the top.

See also cider-repl-clear-buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl.el
(defun cider-repl-trim-buffer ()
  "Trim the currently visited REPL buffer partially from the top.
See also `cider-repl-clear-buffer'."
  (interactive)
  (if cider-repl-buffer-size-limit
      (cider-repl-trim-top-of-buffer (current-buffer))
    (user-error "The variable `cider-repl-buffer-size-limit' is not set")))