[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 d816429e2f2: * lisp/progmodes/python.el (python--import-sources
From: |
Eli Zaretskii |
Subject: |
emacs-29 d816429e2f2: * lisp/progmodes/python.el (python--import-sources): Fix regexp (bug#61648) |
Date: |
Wed, 22 Feb 2023 08:32:07 -0500 (EST) |
branch: emacs-29
commit d816429e2f26731b790be77b8a8a5ce5261832ed
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>
* lisp/progmodes/python.el (python--import-sources): Fix regexp (bug#61648)
---
lisp/progmodes/python.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0d714c31e9e..eab5e70af33 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -6376,7 +6376,7 @@ for key in sorted(result):
"List files containing Python imports that may be useful in the current
buffer."
(if-let (((featurep 'project)) ;For compatibility with Emacs < 26
(proj (project-current)))
- (seq-filter (lambda (s) (string-match-p "\\.py[ciw]?\\'" s))
+ (seq-filter (lambda (s) (string-match-p "\\.py[iwx]?\\'" s))
(project-files proj))
(list default-directory)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 d816429e2f2: * lisp/progmodes/python.el (python--import-sources): Fix regexp (bug#61648),
Eli Zaretskii <=