Did you know ... | Search Documentation: |
![]() | Pack pac -- prolog/misc/prolog-elisp.pl |
sub_string(X, J, K, _, S)
,
J + length(B)
=< I =< K - length(E)
,
and that S has B as a prefix, and E as a suffix.point(P)
, begin(B)
, end(E)
, line(R)
], where
P is the current point, B the beginning point, E the end point
R the content of the line.value(V)
; V is unified with a return value codes
string(t)
: require lisp to use 'prin1_to_string'
string(nil)
: tell lisp not to use 'prin1_to_string'
wait : require lisp to send 'done' when done.
lisp : tell lisp not to reply.call_lisp(X, [wait])
.call_lisp(X, [noreply])
.call_lisp_wait(X)
.call_lisp(X, [wait])
.call_lisp(X, [value(Y)])
.
Execute G almost in the same way as
for phrase(G, X, Y)
when P = [X,Y],
or call(G)
when P=[].
For each atomic pharse P of G
meta_handle(B, M, Sp, [])
is executed when call(Sp, M, P, B)
is true.
This predicate is convenient to test
handles, which may have handle calls in the body, and see their outputs on emacs buffer window.
The following predicates are exported, but not or incorrectly documented.