Browse Source

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.
master
Daniel 2 months ago
parent
commit
8fc035cb01
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      init.el

+ 0
- 2
init.el View File

@@ -2939,8 +2939,6 @@ With given ARG, display files in `db/important-document-path’."
2939 2939
   :commands (pdf-tools-install))
2940 2940
 
2941 2941
 (use-package python
2942
-  :init (setq python-indent-offset 2
2943
-              python-shell-interpreter "python3")
2944 2942
   :config (progn
2945 2943
             (add-hook 'python-mode-hook #'highlight-indentation-mode)
2946 2944
             (add-hook 'python-mode-hook #'company-mode)

Loading…
Cancel
Save