[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/orgit 2456436a7e 48/76: orgit-rev-store: Store all marked
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/orgit 2456436a7e 48/76: orgit-rev-store: Store all marked commits |
Date: |
Thu, 13 Jan 2022 13:58:46 -0500 (EST) |
branch: elpa/orgit
commit 2456436a7e64d26bcf455b3890a586acaa3e7f93
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
orgit-rev-store: Store all marked commits
As was already advertised.
---
orgit.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/orgit.el b/orgit.el
index 306005fb24..dc1b408388 100644
--- a/orgit.el
+++ b/orgit.el
@@ -348,9 +348,10 @@ When the region selects one or more commits, e.g. in a
log, then
store links to the Magit-Revision mode buffers for these commits."
(cond ((eq major-mode 'magit-revision-mode)
(orgit-rev-store-1 (car magit-refresh-args)))
- ((and (derived-mode-p 'magit-mode)
- (magit-region-sections 'commit))
- (orgit-rev-store-1 (oref (magit-current-section) value)))))
+ ((derived-mode-p 'magit-mode)
+ (when-let ((revs (magit-region-values 'commit)))
+ (mapc 'orgit-rev-store-1 revs)
+ t))))
(defun orgit-rev-store-1 (rev)
(let ((repo (orgit--current-repository))
- [nongnu] elpa/orgit 0bec3ea912 03/76: orgit-log-{store, open}: kludge to support version 2.1.0 of Magit, (continued)
- [nongnu] elpa/orgit 0bec3ea912 03/76: orgit-log-{store, open}: kludge to support version 2.1.0 of Magit, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 0881cf9633 05/76: complete Package-Requires list, add Homepage keyword, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 55292d377c 13/76: replace term commit with revision, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 190aa8e3ad 17/76: bump dependencies and copyright, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 731c5cb4f1 16/76: orgit-status-open: adapt to change to magit-status-internal, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 44a05c55d5 07/76: orgit-rev-store: Always use commit SHA-1 hash, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e0859c3c71 08/76: autoload functions where necessary, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit faf8a24c87 18/76: orgit-rev-store: preserve refs and abbreviate hashes, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 6b2eba9c48 34/76: Changing heading of library footer section, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ba15371536 36/76: Update for Emacs v2.90.0, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 2456436a7e 48/76: orgit-rev-store: Store all marked commits,
ELPA Syncer <=
- [nongnu] elpa/orgit 1e578f8cf9 53/76: Define org-link-store-props as an alias for org-store-link-props, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit ad3b8c4182 04/76: orgit-rev-store: support version 2.1.0 of Magit, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 357d037307 09/76: bump numbers, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 0938f83a07 12/76: Merge pull request #5 from Malabarba/master, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 12bfadf603 23/76: orgit-{log, rev}-open: call magit commands with proper arguments, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 1ad6bd8e3e 37/76: Bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 002f3ee6ea 38/76: orgit-export-alist: Update orgmode.org entry, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit f23a95d04a 58/76: Use lexical bindings, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit e7cddf39e3 56/76: Bump dependencies, ELPA Syncer, 2022/01/13
- [nongnu] elpa/orgit 3c83adc34a 62/76: orgit--format-export: New function, ELPA Syncer, 2022/01/13