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

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

[nongnu] elpa/helm f7370b4a5d 2/3: Fix test in helm-grep-goto-closest-fr


From: ELPA Syncer
Subject: [nongnu] elpa/helm f7370b4a5d 2/3: Fix test in helm-grep-goto-closest-from-linum
Date: Sun, 13 Feb 2022 02:58:19 -0500 (EST)

branch: elpa/helm
commit f7370b4a5d9851fab0ba5f5a63c0b9bae7026990
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix test in helm-grep-goto-closest-from-linum
---
 helm-grep.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-grep.el b/helm-grep.el
index e9b217b2d7..999e197fbd 100644
--- a/helm-grep.el
+++ b/helm-grep.el
@@ -975,7 +975,7 @@ Special commands:
   (catch 'break
     (while (re-search-forward (format "^%s:\\([0-9]+\\):" (regexp-quote 
bufname)) nil t)
       (let ((numline (string-to-number (match-string 1))))
-        (when (<= (- linum numline) 0)
+        (when (< (- linum numline) 0)
           (forward-line -1)
           (throw 'break nil))))))
 



reply via email to

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