Function: majutsu-blob-visit-file

majutsu-blob-visit-file is an interactive and natively compiled function defined in majutsu-file.el.

Signature

(majutsu-blob-visit-file)

Documentation

Visit the workspace version of the current blob's file.

Preserves line/column position from the blob buffer.

Key Bindings

majutsu-blob-mode-map V

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-file.el
(defun majutsu-blob-visit-file ()
  "Visit the workspace version of the current blob's file.
Preserves line/column position from the blob buffer."
  (interactive)
  (unless (and (bound-and-true-p majutsu-blob-mode)
               majutsu-buffer-blob-root
               majutsu-buffer-blob-path)
    (user-error "Not in a blob buffer"))
  ;; Pass nil as rev to visit filesystem file directly
  (majutsu-find-file--internal nil
                               majutsu-buffer-blob-path
                               #'pop-to-buffer-same-window))