summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-magit.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/km-magit.el b/lisp/km-magit.el
index 91a6e6c..199d858 100644
--- a/lisp/km-magit.el
+++ b/lisp/km-magit.el
@@ -544,6 +544,11 @@ show tags by default."
(add-hook 'magit-refs-sections-hook 'magit-insert-tags t t))
(magit-refresh-buffer))
+(defun km/magit-revision-insert-related-refs ()
+ (interactive)
+ (let ((magit-revision-insert-related-refs t))
+ (magit-refresh)))
+
(defun km/magit-log-flip-revs ()
"Swap revisions in log range."
(interactive)