We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9a3d4 commit c7bad67Copy full SHA for c7bad67
le-python.el
@@ -298,7 +298,8 @@ it at one time."
298
(defvar lispy--python-init-file nil)
299
300
(defun lispy--python-poetry-name ()
301
- (when-let* ((root (locate-dominating-file (buffer-file-name) "pyproject.toml"))
+ (when-let* ((bfn (buffer-file-name))
302
+ (root (locate-dominating-file bfn "pyproject.toml"))
303
(pyproject (file-name-directory root)))
304
(and (file-exists-p pyproject)
305
(not (equal python-shell-interpreter "python"))
0 commit comments