Reputation: 50117
What do I put in my .emacs
file to use four spaces instead of the tab character for all indentation?
Upvotes: 1
Views: 641
Reputation: 77400
This behavior is controlled by the variable indent-tabs-mode
. Put:
(setq-default indent-tabs-mode nil)
in your .emacs to use spaces.
Upvotes: 4