Function: magit-bookmark-name
magit-bookmark-name is a byte-compiled function defined in
magit-section.el.
Signature
(magit-bookmark-name)
Documentation
Return name for bookmark to current buffer.
Implementations
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode forge-topic-mode))) in `forge-topic.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-stashes-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-reflog-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-cherry-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-log-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-stash-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-revision-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name (NIL ((&context . major-mode) derived-mode magit-diff-mode))) in `magit-bookmark.el'.
Undocumented
(magit-bookmark-name) in `magit-section.el'.
Undocumented
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(cl-defgeneric magit-bookmark-name ()
"Return name for bookmark to current buffer."
(format "%s%s"
(substring (symbol-name major-mode) 0 -5)
(if-let ((vars (get major-mode 'magit-bookmark-variables)))
(mapcan (##ensure-list (symbol-value %)) vars)
"")))