[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm ba518fda86 2/6: Forward line on empty lines in mm-sea
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm ba518fda86 2/6: Forward line on empty lines in mm-search, otherwise goto eol |
Date: |
Wed, 13 Sep 2023 15:59:51 -0400 (EDT) |
branch: elpa/helm
commit ba518fda8672bb0b168228d51dd1687cd6c29403
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Forward line on empty lines in mm-search, otherwise goto eol
---
helm-multi-match.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/helm-multi-match.el b/helm-multi-match.el
index bfe5287fd0..c183f0ba5a 100644
--- a/helm-multi-match.el
+++ b/helm-multi-match.el
@@ -266,10 +266,15 @@ i.e (identity (re-search-forward \"foo\" (pos-eol) t)) =>
t."
(funcall pred (condition-case _err
(funcall searchfn2 regexp eol
t)
(invalid-regexp nil)))))
- do (goto-char eol) and return t
- else do (goto-char eol)
+ do (helm-mm-3--search-move-forward bol eol) and return t
+ else do (helm-mm-3--search-move-forward bol eol)
finally return nil))
+(defun helm-mm-3--search-move-forward (bol eol)
+ "Move point forward for next search.
+Forward line on empty lines, otherwise goto eol."
+ (if (eql bol eol) (forward-line 1) (goto-char eol)))
+
(defun helm-mm-3-search (pattern &rest _ignore)
(helm-mm-3-search-base
pattern 're-search-forward 're-search-forward))
- [nongnu] elpa/helm updated (0313ad06ae -> 6bf5f5a20f), ELPA Syncer, 2023/09/13
- [nongnu] elpa/helm deb525f291 3/6: Improve helm-basename and fix docstring of helm-basedir, ELPA Syncer, 2023/09/13
- [nongnu] elpa/helm 6bf5f5a20f 6/6: Move helm-locate-lib-get-summary to helm-lib, ELPA Syncer, 2023/09/13
- [nongnu] elpa/helm 0e78bd5b0c 5/6: Provide affix fn for library category, ELPA Syncer, 2023/09/13
- [nongnu] elpa/helm ba518fda86 2/6: Forward line on empty lines in mm-search, otherwise goto eol,
ELPA Syncer <=
- [nongnu] elpa/helm 27ff321bf3 1/6: Fix internal variable name prefix in *multi-match, ELPA Syncer, 2023/09/13
- [nongnu] elpa/helm 332f55d601 4/6: Improve helm-locate-library, ELPA Syncer, 2023/09/13