emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/orgit 9f09553c09 63/76: orgit-status-store: Account for to


From: ELPA Syncer
Subject: [nongnu] elpa/orgit 9f09553c09 63/76: orgit-status-store: Account for topics
Date: Thu, 13 Jan 2022 13:58:47 -0500 (EST)

branch: elpa/orgit
commit 9f09553c09e389f7e695afb8dd1aa5a52f18f107
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    orgit-status-store: Account for topics
    
    This is used by the orgit-forge package, which I do not intend to
    release anytime soon.  Sorry.  If I did release it then you would
    ask for additional features and I have enough world-writable todo
    lists already.  At some time in the future.  But not yet.  Sorry.
---
 orgit.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orgit.el b/orgit.el
index 3299a6fe6e..5ccd4f30a2 100644
--- a/orgit.el
+++ b/orgit.el
@@ -250,7 +250,7 @@ then store a link to the commit itself."
 When the region selects one or more commits, then do nothing.
 In that case `orgit-rev-store' stores one or more links instead."
   (when (and (eq major-mode 'magit-status-mode)
-             (not (magit-region-sections 'commit)))
+             (not (magit-region-sections '(commit issue pullreq))))
     (let ((repo (orgit--current-repository)))
       (org-link-store-props
        :type        "orgit"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]