jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

read_mini steals prefix argument


Hi,

the prefixargument is not available after read_mini(). Why?

#v+
define g()
{
    message(string(prefix_argument(-1))+"  "+string(_NARGS));
}

set_prefix_argument(12);
g( read_mini("X", "", "") );
#v-

#v+
% xjed -batch -l /tmp/test.sl
X(default )
12  1
#v-

Inside the editor it prints "-1  1".

Bye, Jörg.
-- 
Treffen sich zwei Funktionen.
Sagt die eine: "Verschwinde oder ich differenzier' dich!"
Erwidert die andere: "Ätsch, ich bin exponentiell!"

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]