[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to avoid SPACE TAB in a file?
From: |
Drew Adams |
Subject: |
RE: How to avoid SPACE TAB in a file? |
Date: |
Wed, 25 Nov 2009 13:21:26 -0800 |
> If you want emacs to always insert spaces instead of tabs
> then you can put (setq indent-tabs-mode nil) in your .emacs.
> This needs to be set for each buffer, so it should be put in
> a hook like
> (add-hook 'c-mode-hook '(lambda () (setq indent-tabs-mode nil)))
(setq-default indent-tabs-mode t)