More info for '?'.
* magit.el (magit-describe-item): Add magit-section-context-type.
This commit is contained in:
parent
1b4094e3de
commit
401c548dc5
1 changed files with 3 additions and 2 deletions
5
magit.el
5
magit.el
|
@ -2664,12 +2664,13 @@ Prefix arg means justify as well."
|
||||||
(defun magit-describe-item ()
|
(defun magit-describe-item ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((section (magit-current-section)))
|
(let ((section (magit-current-section)))
|
||||||
(message "Section: %s %s-%s %S %S"
|
(message "Section: %s %s-%s %S %S %S"
|
||||||
(magit-section-type section)
|
(magit-section-type section)
|
||||||
(magit-section-beginning section)
|
(magit-section-beginning section)
|
||||||
(magit-section-end section)
|
(magit-section-end section)
|
||||||
(magit-section-title section)
|
(magit-section-title section)
|
||||||
(magit-section-info section))))
|
(magit-section-info section)
|
||||||
|
(magit-section-context-type section))))
|
||||||
|
|
||||||
(defun magit-copy-item-as-kill ()
|
(defun magit-copy-item-as-kill ()
|
||||||
"Copy sha1 of commit at point into kill ring."
|
"Copy sha1 of commit at point into kill ring."
|
||||||
|
|
Loading…
Add table
Reference in a new issue