diff --git a/init.el b/init.el index f495f09..48f1ee6 100644 --- a/init.el +++ b/init.el @@ -436,6 +436,7 @@ scroll-step 1 scroll-margin 3 scroll-conservatively 9999 + python-indent-guess-indent-offset nil read-file-name-completion-ignore-case t read-buffer-completion-ignore-case t completion-ignore-case t @@ -444,6 +445,7 @@ (setq-default c-basic-offset 4 tab-width 4 fill-column 80) +(add-hook 'python-mode-hook (lambda () (setq tab-width 4))) (global-hl-line-mode) (defun my-inhibit-hl-line-mode ()