Description: Run python3 command as default instead of python Author: Balint Reczey Origin: vendor Forwarded: no Last-Update: 2020-03-25 --- a/lisp/ldefs-boot.el +++ b/lisp/ldefs-boot.el @@ -26539,7 +26539,7 @@ (add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode)) -(autoload 'run-python "python" "\ +(autoload 'run-python "python3" "\ Run an inferior Python process. Argument CMD defaults to `python-shell-calculate-command' return --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1952,7 +1952,7 @@ :group 'python :safe 'stringp) -(defcustom python-shell-interpreter "python" +(defcustom python-shell-interpreter "python3" "Default Python interpreter for shell." :type 'string :group 'python)