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 9 months ago
parent
commit
8fc035cb01
No known key found for this signature in database GPG Key ID: 1C7071A75BB72D64
  1. 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…
Cancel
Save