1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00

Mark python-shell-virtualenv-root as safe for directories

* lisp/progmodes/python.el (python-shell-virtualenv-root):
Require a directory name.  (Bug#41619)
This commit is contained in:
Philip K 2020-05-30 21:47:51 +02:00 committed by Eli Zaretskii
parent a3474c59de
commit f4b99b34ed

View file

@ -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