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

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

Re: shortcut for increasing/decreasing indent


From: Kevin Rodgers
Subject: Re: shortcut for increasing/decreasing indent
Date: Mon, 28 Mar 2005 12:55:40 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Michael-E. Voges wrote:
Hi Emacs's,
I wonder, if there ist a shortcut increasing/decreasing an indented line while the cursor is anywhere on that line without leaving the point (like for example C-D or C-T in edit-mode on some other famous editor).

Hmmm...

(defun indent-line-rigidly (arg)
"*Increase or decrease the indentation of the current line by ARG colums."
  (interactive "p")
  (indent-rigidly (line-beginning-position) (line-end-position) arg))

--
Kevin Rodgers


reply via email to

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