[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm ae372af87e 1/3: Fix test for helm-occur-mode in next-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm ae372af87e 1/3: Fix test for helm-occur-mode in next-error revert fn |
Date: |
Sun, 13 Feb 2022 02:58:19 -0500 (EST) |
branch: elpa/helm
commit ae372af87e950eedbe28628a9117f2724509709d
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix test for helm-occur-mode in next-error revert fn
---
helm-grep.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-grep.el b/helm-grep.el
index 7b1d303882..e9b217b2d7 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -909,7 +909,7 @@ modifications in `current-buffer'."
;; helm-occur-mode revert fn is synchronous so
;; reajust from here (it is done with
;; helm-grep-mode in its sentinel).
- (when (eq major-mode (car it))
+ (when (eq (car it) 'helm-occur-mode)
(helm-grep-goto-closest-from-linum linum bufname)))
(error "No suitable buffer to revert found")))
(error "No suitable buffer to revert found"))))