[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f4b99b3: Mark python-shell-virtualenv-root as safe for directorie
From: |
Eli Zaretskii |
Subject: |
master f4b99b3: Mark python-shell-virtualenv-root as safe for directories |
Date: |
Sat, 13 Jun 2020 03:41:56 -0400 (EDT) |
branch: master
commit f4b99b34ed182082a17516ab5f99953275cb171d
Author: Philip K <philip@warpmail.net>
Commit: Eli Zaretskii <eliz@gnu.org>
Mark python-shell-virtualenv-root as safe for directories
* lisp/progmodes/python.el (python-shell-virtualenv-root):
Require a directory name. (Bug#41619)
---
lisp/progmodes/python.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index aec27a5..0ce80db 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2092,7 +2092,8 @@ executed through tramp connections."
This variable, when set to a string, makes the environment to be
modified such that shells are started within the specified
virtualenv."
- :type '(choice (const nil) string)
+ :type '(choice (const nil) directory)
+ :safe #'file-directory-p
:group 'python)
(defcustom python-shell-setup-codes nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f4b99b3: Mark python-shell-virtualenv-root as safe for directories,
Eli Zaretskii <=