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
parent
e971bfc915
commit
8fc035cb01
2
init.el
2
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)
|
||||
|
|
Loading…
Reference in New Issue