* lisp/progmodes/python.el (python--import-sources): Fix regexp (bug#61648)
This commit is contained in:
parent
1f4886fdb0
commit
d816429e2f
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue