Function: nrepl-log-insert-button

nrepl-log-insert-button is a byte-compiled function defined in nrepl-client.el.

Signature

(nrepl-log-insert-button LABEL OBJECT)

Documentation

Insert button with LABEL and :nrepl-object property as OBJECT.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/nrepl-client.el
(defun nrepl-log-insert-button (label object)
  "Insert button with LABEL and :nrepl-object property as OBJECT."
  (insert-button label
                 :nrepl-object object
                 'action #'nrepl-log-expand-button
                 'face 'link
                 'help-echo "RET: Expand object."
                 ;; Workaround for bug#1568 (don't use local-map here; it
                 ;; overwrites major mode map.)
                 'keymap `(keymap (mouse-1 . nrepl-log--expand-button-mouse)))
  (insert "\n"))