Variable: marginalia--bookmark-type-transforms

marginalia--bookmark-type-transforms is a variable defined in marginalia.el.

Value

(("-+\\(?:bookmark\\|handler?\\|jump\\)-+" . "-")
 ("\\`\\(?:bookmark\\|handler?\\|jump\\)-+" . "")
 ("-\\(?:bookmark\\|handler?\\|jump\\)\\'" . "")
 ("\\`default\\'" . "File")
 (".*" . capitalize))

Documentation

List of bookmark type transformers.

Relying on this mechanism is discouraged in favor of the bookmark-handler-type property. The function names are matched case-sensitively.

Source Code

;; Defined in ~/.emacs.d/elpa/marginalia-20260724.810/marginalia.el
(defvar marginalia--bookmark-type-transforms
  (let ((words (regexp-opt '("handle" "handler" "jump" "bookmark"))))
    `((,(format "-+%s-+" words) . "-")
      (,(format "\\`%s-+" words) . "")
      (,(format "-%s\\'" words) . "")
      ("\\`default\\'" . "File")
      (".*" . ,#'capitalize)))
  "List of bookmark type transformers.
Relying on this mechanism is discouraged in favor of the
`bookmark-handler-type' property.  The function names are matched
case-sensitively.")