From f0280cf9c326464e481cc2f92908fb0c3643d1ca Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 4 Oct 2015 01:03:30 -0400 Subject: Update for magit-copy-as-kill rename Renamed in 4679d9b (implement a revision stack for inserting revs into messages, 2015-09-22). --- lisp/init-git.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/init-git.el') diff --git a/lisp/init-git.el b/lisp/init-git.el index 666af88..3f6eff3 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -454,14 +454,14 @@ COMMIT." (defun km/magit-copy-as-kill () "Try `km/magit-copy-hook' before calling `magit-copy-as-kill'. -With a prefix argument of -1, always call `magit-copy-as-kill'. +With a prefix argument of -1, always call `magit-copy-section-value' Otherwise, the current prefix argument is passed to each hook function." (interactive) (or (unless (= (prefix-numeric-value current-prefix-arg) -1) (run-hook-with-args-until-success 'km/magit-copy-hook current-prefix-arg)) - (magit-copy-as-kill))) + (magit-copy-section-value))) (defun km/magit-avy-goto-subword-1 () "Like `km/avy-goto-subword-1', but maybe show commit and limit to window." -- cgit v1.2.3