fixed python indentation
This commit is contained in:
parent
55f23dd2da
commit
fcf67bfca3
3
conf.org
3
conf.org
|
@ -669,7 +669,8 @@ A few caveats when using =R=
|
||||||
;; make python tabs 4 chars
|
;; make python tabs 4 chars
|
||||||
(add-hook 'python-mode-hook
|
(add-hook 'python-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq indent-tabs-mode t)
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq py-indent-tabs-mode nil)
|
||||||
(setq tab-width 4)
|
(setq tab-width 4)
|
||||||
(setq python-offset 4)))
|
(setq python-offset 4)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue