summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-05-05 23:10:36 -0400
committerKyle Meyer <kyle@kyleam.com>2019-05-05 23:10:36 -0400
commit1102f94ddbb21b4cd94b36d89c5def80cf00bc51 (patch)
treefb08308dade09daccadfb07ce82a09fd1bbfd9ae
parent81dff9de5746a30449a4bcd1d63f4de2495c9e64 (diff)
downloademacs.d-1102f94ddbb21b4cd94b36d89c5def80cf00bc51.tar.gz
km/magit-copy-commit-summary: Fix stale accessor
-rw-r--r--lisp/km-magit.el2
1 files changed, 1 insertions, 1 deletions
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 '<hash>, (<subject>, <date>)'. 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)