|
From: | Ian Eure |
Subject: | Re: Indent goes to beginning of line |
Date: | Fri, 7 Aug 2009 09:34:24 -0700 |
On Aug 7, 2009, at 6:22 AM, Paulo J. Matos wrote:
Interestingly enough, when I press <tab> to indent a line, the cursorinstead of staying in the same place moves to the first character of theline, why is this? I thought save-excursion would avoid this from happening.
The function is as follows: (defun eventb-indent-line () "Indent current line as EventB code" (interactive) (beginning-of-line)
^^^^^^^^^^^^^^^ This isn't wrapped in save-excursion. - Ian
[Prev in Thread] | Current Thread | [Next in Thread] |