From b43b6019ff5402e39e16c8a2f6b6c9987660642b Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 29 Sep 2022 11:43:43 +0300 Subject: [PATCH] DOC: document the newly added sweeprolog-restart command --- README.org | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index d318ff0..d0d4f4c 100644 --- a/README.org +++ b/README.org @@ -125,10 +125,13 @@ which the user is free to extend with e.g.: To inhibit =sweeprolog= from initializing Prolog on load, set the user-option =sweeprolog-init-on-load= to nil. -#+FINDEX: sweeprolog-cleanup -The embedded Prolog runtime can be reset using the =sweeprolog-cleanup= -function. This function cleans up the Prolog state and resources, -afterwards =sweeprolog-initialize= can be called to start Prolog anew. +#+FINDEX: sweeprolog-restart +The embedded Prolog runtime can be reset using the command +=sweeprolog-restart=. This command cleans up the the Prolog state and +resources, and starts it anew. When called with a prefix argument +(=C-u M-x sweeprolog-restart=), this command prompts the user for +additional initialization arguments to pass to the embedded Prolog +runtime on startup. * Querying Prolog :PROPERTIES: -- 2.39.5