summaryrefslogtreecommitdiff
path: root/lisp/km-magit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-03-23 21:43:35 -0400
committerKyle Meyer <kyle@kyleam.com>2017-03-23 21:43:35 -0400
commit74cbe6e5d121c8b1347cce75a8cccf07da147455 (patch)
treeb95c950090cc2ed6a81072d218844d5df5bffa40 /lisp/km-magit.el
parent98f8675d40bedba97f74b019383b81cfa73f6d35 (diff)
downloademacs.d-74cbe6e5d121c8b1347cce75a8cccf07da147455.tar.gz
magit-copy-region-commits: Use more descriptive argument name
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r--lisp/km-magit.el4
1 files changed, 2 insertions, 2 deletions
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