[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 27099441a0 8/8: Offer textual range at point as
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 27099441a0 8/8: Offer textual range at point as next history element |
Date: |
Tue, 5 Sep 2023 21:59:36 -0400 (EDT) |
branch: elpa/git-commit
commit 27099441a048e977f3316ec58dcef104ec6637d1
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Offer textual range at point as next history element
Closes #5000.
---
lisp/magit-git.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 2ff4a4d5e7..0fd7f34df2 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -2620,7 +2620,8 @@ and this option only controls what face is used.")
(let ((fn minibuffer-default-add-function))
(lambda ()
(if-let ((commit (with-selected-window (minibuffer-selected-window)
- (magit-commit-at-point))))
+ (or (magit-thing-at-point 'git-revision-range t)
+ (magit-commit-at-point)))))
(let ((rest (cons commit (delete commit (funcall fn))))
(def minibuffer-default))
(if (listp def)
- [nongnu] elpa/git-commit updated (a3b9b00702 -> 27099441a0), ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 4a701c1bdc 3/8: magit-split-range: Handle edge-cases, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 363e5acffe 5/8: magit-thingatpt--git-revision: Trim parentheses and punctuation, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 728685f7be 2/8: magit-read-range-or-commit: Cosmetics, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 88f4b93b10 1/8: magit-patch-create: Improve a prompt, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 8220f94b82 4/8: magit-hash-range: Properly validate, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit ec95f00b1b 6/8: magit-thingatpt--git-revision: Filter out some mismatches, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit a3b7cdc486 7/8: git-revision-range: New thing-at-point type, ELPA Syncer, 2023/09/05
- [nongnu] elpa/git-commit 27099441a0 8/8: Offer textual range at point as next history element,
ELPA Syncer <=