python-modeの時は2タブにしたい

フックに引っ掛ければいいっぽいですね。

(add-hook 'python-mode-hook
 '(lambda()
	(setq indent-tabs-mode nil)
	(setq indent-level 2)
	(setq tab-width 2)))

Leave a Reply

Your email address will not be published. Required fields are marked *