From 1102f94ddbb21b4cd94b36d89c5def80cf00bc51 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 5 May 2019 23:10:36 -0400 Subject: km/magit-copy-commit-summary: Fix stale accessor --- lisp/km-magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/km-magit.el') diff --git a/lisp/km-magit.el b/lisp/km-magit.el index 39e70b1..8faceeb 100644 --- a/lisp/km-magit.el +++ b/lisp/km-magit.el @@ -713,7 +713,7 @@ Format the reference as ', (, )'. If there is no commit at point or with a prefix argument, prompt for COMMIT." (interactive - (let ((atpoint (or (and magit-blame-mode (magit-blame-chunk-get :hash)) + (let ((atpoint (or (and magit-blame-mode (oref (magit-current-blame-chunk) orig-rev)) (magit-branch-or-commit-at-point) (magit-tag-at-point)))) (list (or (and (not current-prefix-arg) atpoint) -- cgit v1.2.3