Did you know ... | Search Documentation: |
Pack pac -- prolog/util/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.term(V)
: V is unified with a return term codes
string(V)
: ask emacs-lisp to use 'prin1_to_string'
wait : ask emacs-lisp to send 'done' when done.
lisp : ask emacs-lisp not to reply.call_lisp(X, wait)
.call_lisp(X, noreply)
.call_lisp_wait(X)
.call_lisp(X, wait)
.call_lisp(X, term(Y))
.string(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.