Function: smart-magit-display-file
smart-magit-display-file is a byte-compiled function defined in
hui-mouse.el.
Signature
(smart-magit-display-file RETURN-COMMAND)
Documentation
Execute magit RETURN-COMMAND possibly using hpath:display-buffer.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
;;; ************************************************************************
;;; smart-info functions
;;; ************************************************************************
;;; In "hmouse-info.el".
;;; ************************************************************************
;;; smart-magit functions
;;; ************************************************************************
(defun smart-magit-display-file (return-command)
"Execute `magit' RETURN-COMMAND possibly using `hpath:display-buffer'."
(cond ((eq return-command #'magit-diff-visit-file)
;; Use Hyperbole display variable to determine where
;; to display the file of the diff.
(magit-diff-visit-file--internal
(magit-file-at-point t t) nil #'hpath:display-buffer))
(t (call-interactively return-command))))