Function: cider-history-insert-as-separated
cider-history-insert-as-separated is a byte-compiled function defined
in cider-history.el.
Signature
(cider-history-insert-as-separated ITEMS)
Documentation
Insert ITEMS into the current buffer, with separators between items.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-history.el
(defun cider-history-insert-as-separated (items)
"Insert ITEMS into the current buffer, with separators between items."
(while items
(let* ((origitem (car items))
(item (cider-history-elide origitem))
) ;; (len (length item))
(cider-history-add-overlays-for origitem (insert item))
;; When the command history has items with read-only text property at
;; **the end of** string, cider-history-setup fails with error
;; `Text is read-only'. So inhibit-read-only here.
;; See http://bugs.debian.org/225082
(let ((inhibit-read-only t))
(insert "\n")
(when (cdr items)
(insert (propertize cider-history-separator
'cider-history-extra t
'cider-history-separator t))
(insert "\n"))))
(setq items (cdr items))))