Function: magit-menu-common-value

magit-menu-common-value is a byte-compiled function defined in magit-section.el.

Signature

(magit-menu-common-value SECTION)

Documentation

Return some value to be used by multiple menu items.

This function is called by magit-section-context-menu, which stores the value in magit-menu-common-value(var)/magit-menu-common-value(fun). Individual menu items can use it, e.g., in the expression used to set their description.

Implementations

(magit-menu-common-value (SECTION magit-commit-section)) in `magit-log.el'.

Undocumented

(magit-menu-common-value (SECTION magit-diff-section)) in `magit-diff.el'.

Undocumented

(magit-menu-common-value SECTION) in `magit-section.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(cl-defgeneric magit-menu-common-value (_section)
  "Return some value to be used by multiple menu items.
This function is called by `magit-section-context-menu', which
stores the value in `magit-menu-common-value'.  Individual menu
items can use it, e.g., in the expression used to set their
description."
  nil)