Function: magit-point
magit-point is a byte-compiled function defined in magit-section.el.
Signature
(magit-point)
Documentation
Return point or the position where the context menu was invoked.
When using the context menu, return the position the user clicked
on, provided the current buffer is the buffer in which the click
occurred. Otherwise return the same value as point.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-point ()
"Return point or the position where the context menu was invoked.
When using the context menu, return the position the user clicked
on, provided the current buffer is the buffer in which the click
occurred. Otherwise return the same value as `point'."
(if magit--context-menu-section
(magit-menu-position)
(point)))