Function: breadcrumb--format-ipath-node
breadcrumb--format-ipath-node is a natively compiled function defined
in breadcrumb.el.
Signature
(breadcrumb--format-ipath-node P MORE)
Source Code
;; Defined in /nix/store/3gd3jzhj3g7mbwy1i3w6ci5d2md9d8r2-emacs-packages-deps/share/emacs/site-lisp/elpa/breadcrumb-1.0.1/breadcrumb.el
(defun bc--format-ipath-node (p more)
(let* ((l (lambda (&rest _event)
(interactive)
;; TODO: This is a bit inadequate if the user is
;; clicking the mode or header lines, but 'event' seems
;; to be missing in these cases. We would to
;; conveniently visit places near the node `p' via the
;; mouse
(breadcrumb-jump))))
(propertize
p 'mouse-face 'header-line-highlight
'face (if more 'bc-imenu-crumbs-face 'bc-imenu-leaf-face)
'bc-dont-shorten (null more)
'help-echo (format "mouse-1: Go places near %s" p)
'keymap
(let ((m (make-sparse-keymap)))
(define-key m bc--header-line-key l)
(define-key m bc--mode-line-key l)
m))))