[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 915b34d280: project--git-submodules: Parse more strictly
From: |
Dmitry Gutov |
Subject: |
master 915b34d280: project--git-submodules: Parse more strictly |
Date: |
Mon, 13 Jun 2022 21:00:34 -0400 (EDT) |
branch: master
commit 915b34d2800fe0014b12eda0bbf5def976c14c32
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
project--git-submodules: Parse more strictly
* lisp/progmodes/project.el (project--git-submodules):
Don't mistake 'load-path' for 'path' (bug#55396).
---
lisp/progmodes/project.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 859ad2e047..f4d6742ed8 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -599,7 +599,7 @@ backend implementation of `project-external-roots'.")
(insert-file-contents ".gitmodules")
(let (res)
(goto-char (point-min))
- (while (re-search-forward "path *= *\\(.+\\)" nil t)
+ (while (re-search-forward "^[ \t]*path *= *\\(.+\\)" nil t)
(push (match-string 1) res))
(nreverse res)))
(file-missing nil)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 915b34d280: project--git-submodules: Parse more strictly,
Dmitry Gutov <=