Function: cider-log--insert-events

cider-log--insert-events is a byte-compiled function defined in cider-log.el.

Signature

(cider-log--insert-events BUFFER EVENTS)

Documentation

Insert the log EVENTS into BUFFER.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-log.el
(defun cider-log--insert-events (buffer events)
  "Insert the log EVENTS into BUFFER."
  (with-current-buffer (get-buffer-create buffer)
    (let ((windows (seq-filter (lambda (window) (= (window-point window) (point-max)))
                               (get-buffer-window-list buffer))))
      (save-excursion
        (let ((inhibit-read-only t))
          (goto-char (point-max))
          (seq-doseq (event events)
            (insert (cider-log-event--format-logback event)))))
      (seq-doseq (window windows)
        (set-window-point window (point-max))))))