help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace-regexp, the byte-compiler, docstrings, and suggestions


From: Emanuel Berg
Subject: Re: replace-regexp, the byte-compiler, docstrings, and suggestions
Date: Sat, 18 Oct 2014 01:21:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> You can keep tabs from being inserted by setting
>> `indent-tabs-mode' to nil. It's a buffer-local
>> variable, so what I do is `setq-default' it to nil
>> and then override that in hooks for modes where I
>> really do want tabs (e.g. `makefile-mode').
>
> Of course, makefile-mode already sets it for you.

Yes, what I can see, the only thing you have to do is

(setq-default indent-tabs-mode nil)

to get spaces in .emacs and tabs in Makefile.

-- 
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]