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:
parent
a3474c59de
commit
f4b99b34ed
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue