|
From: | Emanuel Berg |
Subject: | Re: How to change Perl mode indentation to two spaces and no tabs? |
Date: | Mon, 15 Jun 2015 20:27:24 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Kenneth Wolcott <kennethwolcott@gmail.com> writes: > I'd like to change the default indentation of the > Emacs Perl mode from four spaces (and tabs?) to be > two spaces and no tabs. How do I do this? > > I'd also like to do this for my bash (bourne?) > shell scripts. I agree tabs shouldn't be used in source - except for Makefiles, because there it won't work otherwise. Try this: (setq-default tab-width 2) (setq-default indent-tabs-mode nil) -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |