From 8fc035cb01172063e7c039b6d1d1927889221751 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 13 Mar 2021 10:24:28 +0100 Subject: [PATCH] Do not set defaults for python-mode Keep the standards as they are and customize the variables when necessary. Changing the defaults almost always causes trouble when running on other machines. For example, `python3` is the name of the Linux executable, but not the Windows one. --- init.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/init.el b/init.el index 9d3e996..e78ac5a 100644 --- a/init.el +++ b/init.el @@ -2939,8 +2939,6 @@ With given ARG, display files in `db/important-document-path’." :commands (pdf-tools-install)) (use-package python - :init (setq python-indent-offset 2 - python-shell-interpreter "python3") :config (progn (add-hook 'python-mode-hook #'highlight-indentation-mode) (add-hook 'python-mode-hook #'company-mode)