From 74cbe6e5d121c8b1347cce75a8cccf07da147455 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 23 Mar 2017 21:43:35 -0400 Subject: magit-copy-region-commits: Use more descriptive argument name --- lisp/km-magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/km-magit.el b/lisp/km-magit.el index a068eac..3c2591d 100644 --- a/lisp/km-magit.el +++ b/lisp/km-magit.el @@ -452,12 +452,12 @@ COMMIT." (magit-section-when headers (km/magit-copy-commit-summary (car magit-refresh-args)))) -(defun km/magit-copy-region-commits (&optional arg) +(defun km/magit-copy-region-commits (&optional read-separator) (--when-let (magit-region-values 'commit) (deactivate-mark) (kill-new (mapconcat #'identity it - (if arg (read-string "Separator: ") ", "))))) + (if read-separator (read-string "Separator: ") ", "))))) (defun km/magit-copy-commit-message (&optional _) (magit-section-when message -- cgit v1.2.3