Function: majutsu-file--path-at-point

majutsu-file--path-at-point is a natively compiled function defined in majutsu-file.el.

Signature

(majutsu-file--path-at-point ROOT)

Documentation

Return path from context or nil.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-file--path-at-point (root)
  "Return path from context or nil."
  (or (magit-section-value-if 'jj-file)
      (majutsu-file-at-point)
      (when-let* ((file buffer-file-name))
        (majutsu-file--relative-path root file))))