.emacs-my
changeset 1727 371302065ef0
parent 1726 ffd1272d96dc
child 1728 746bcf68435f
--- a/.emacs-my	Tue Feb 09 00:53:55 2021 +0200
+++ b/.emacs-my	Sat Feb 20 20:14:16 2021 +0200
@@ -3060,6 +3060,12 @@
 
 (setq python-indent-offset 4)
 
+;; (symbol-plist 'python-shell-process-environment)
+(put 'python-shell-process-environment 'safe-local-variable 'listp)
+(add-to-list 'safe-local-variable-values '(python-shell-interpreter . "python"))
+(add-to-list 'safe-local-variable-values '(python-shell-interpreter . "python2"))
+(add-to-list 'safe-local-variable-values '(python-shell-interpreter . "python3"))
+
 (defun my-python/describe-at-point (symbol process prefix)
   "Show full docs for symbol at point using Python's help() built-in.