- Subject: Re: pop_spot(0)
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Tue, 1 Jul 2003 17:26:09 -0400
Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>how to pop a spot, but don't go there. I will write function, that acts
>like search_forward(). If the word is found, go there, if not, stay where
>you are. So I pushed a spot for the case, I don't find the word. But how
>to remove this spot from the stack, if I find the word?
Do not use push/pop_spot. Use
spot = create_user_mark ();
.
.
if (found) goto_user_mark (spot);
--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]