Function: cider-repl--history-malformed-entries
cider-repl--history-malformed-entries is a byte-compiled function
defined in cider-repl.el.
Signature
(cider-repl--history-malformed-entries HISTORY)
Documentation
Return a list of (INDEX . ENTRY) cells for malformed entries in HISTORY.
An entry is malformed when its parens don't balance under Clojure syntax.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-repl.el
(defun cider-repl--history-malformed-entries (history)
"Return a list of (INDEX . ENTRY) cells for malformed entries in HISTORY.
An entry is malformed when its parens don't balance under Clojure syntax."
(let ((idx 0) (out nil))
(dolist (entry history)
(when (and (stringp entry)
(not (cider-repl--history-entry-balanced-p entry)))
(push (cons idx entry) out))
(cl-incf idx))
(nreverse out)))