- Subject: read_mini steals prefix argument
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Fri, 2 Jun 2006 14:31:16 +0000 (UTC)
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]