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

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

[elpa] master 0b85d9d 030/184: counsel.el (counsel-at-git-issue-p): Add


From: Oleh Krehel
Subject: [elpa] master 0b85d9d 030/184: counsel.el (counsel-at-git-issue-p): Add vc-git-log-view-mode
Date: Wed, 16 Oct 2019 13:14:43 -0400 (EDT)

branch: master
commit 0b85d9d353e141644b90a70eca0caeed30514d99
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-at-git-issue-p): Add vc-git-log-view-mode
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 119b642..b5b195d 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2083,7 +2083,7 @@ See variable `counsel-up-directory-level'."
   "When point is at an issue in a Git-versioned file, return the issue string."
   (and (looking-at "#[0-9]+")
        (or (eq (vc-backend buffer-file-name) 'Git)
-           (eq major-mode 'magit-commit-mode)
+           (memq major-mode '(magit-commit-mode vc-git-log-view-mode))
            (bound-and-true-p magit-commit-mode))
        (match-string-no-properties 0)))
 



reply via email to

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