Function: cider-history

cider-history is an autoloaded, interactive and byte-compiled function defined in cider-history.el.

Signature

(cider-history)

Documentation

Display items in the CIDER command history in another buffer.

Key Bindings

Aliases

cider-repl-history (obsolete since 2.0.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-history.el
;;;###autoload
(defun cider-history ()
  "Display items in the CIDER command history in another buffer."
  (interactive)
  (when (eq major-mode 'cider-history-mode)
    (user-error "Already viewing the CIDER command history"))

  (let* ((repl-win (selected-window))
         (repl-buf (window-buffer repl-win))
         (buf (get-buffer-create cider-history-buffer)))
    (cider-history-setup repl-win repl-buf buf)
    (pop-to-buffer buf)
    (cider-history-resize-window)))