Function: majutsu-selection--locate-default

majutsu-selection--locate-default is a natively compiled function defined in majutsu-selection.el.

Signature

(majutsu-selection--locate-default VALUE)

Documentation

Default locator for selection overlays.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-selection.el
(defun majutsu-selection--locate-default (value)
  "Default locator for selection overlays."
  (when-let* ((cur (magit-current-section))
              (parent (oref cur parent))
              (type (oref cur type)))
    (magit-get-section
     (append `((,type . ,value)) (magit-section-ident parent)))))