projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4886f
)
* lisp/progmodes/python.el (python--import-sources): Fix regexp (bug#61648)
author
Augusto Stoffel
<arstoffel@gmail.com>
Mon, 20 Feb 2023 09:49:22 +0000
(10:49 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 22 Feb 2023 13:31:02 +0000
(15:31 +0200)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 0d714c31e9eeaec0ab39227543f9f31bb9a50293..eab5e70af337b5be6ef5a630da25e36e2ef1c419 100644
(file)
--- 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)))