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

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

RE: Indent region by one tabstop


From: Drew Adams
Subject: RE: Indent region by one tabstop
Date: Thu, 19 Apr 2012 19:05:23 -0700

> > Use `indent-rigidly' with the value of `tab-width'?
> >
> > (defun my-indent-a-tab-width (start end)
> >   (interactive "r")
> >   (indent-rigidly start end tab-width))
> 
> Works great, thanks!  You wouldn't happen to know a way to do 
> the inverse,
> delete 4 spaces from the beginning of each line in a region?

Same function, `indent-rigidly', but with a negative argument.

C-h f indent-rigidly




reply via email to

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