I'm trying to get rid of tabs, following this guide:
(setq-default indent-tabs-mode nil)
So: why setq-default
and not setq
? I know I would need to use setq-default
for a buffer-local variable, but I can't actually determine (except from inferring from the guide) whether indent-tabs-mode
is buffer local.
C-h v
return something more confusing to me:
Automatically becomes buffer-local when set.
So it would become buffer local if I setq
it, so I must setq-default
it?