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.
This commit is contained in:
Daniel - 2021-03-13 10:24:28 +01:00
父節點 e971bfc915
當前提交 8fc035cb01
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 1C7071A75BB72D64
共有 1 個檔案被更改,包括 0 行新增2 行删除

查看文件

@ -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)