- Subject: Re: indenting problem
- From: "John E. Davis" <davis>
- Date: Thu, 8 May 2003 11:26:42 -0400
Günter Milde <milde@xxxxxxxxxxxxxxxxxxxx> wrote:
>define (newline_indent)
>{
> if (input_pending(0))
> newline();
> else
> newline_and_indent();
>}
I changed this to:
define newline_indent ()
{
if (input_pending(0))
newline();
else
call ("newline_and_indent");
}
However, the big problem is that when run as part of a keyboard-macro,
input_pending will always return non-zero if Ctrl-M is followed by
more characters in the macro.
For this reason, I think that the "paste" function I posted earlier is
the best solution.
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]