[Top][All Lists]

[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 16:19:15 -0700

> Is there a way to make emacs move a region of code left or 
> right by one tabstop?  I don't want to use emacs' built in
> indentation because it's not indenting the lines where I
> want them to be.

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))

reply via email to

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