]> git.eshelyaron.com Git - dict.git/commitdiff
DOC: mention new sweep Prolog flag in README.org and NEWS.org
authorEshel Yaron <me@eshelyaron.com>
Sat, 15 Oct 2022 08:10:34 +0000 (11:10 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Oct 2022 10:38:23 +0000 (13:38 +0300)
NEWS.org
README.org

index 139ae2d6f15f0cc92c76edff70cffe10cbf6d9d8..36a11957dc0533fbc20fcfbf9ea9c82a9357f661 100644 (file)
--- a/NEWS.org
+++ b/NEWS.org
@@ -11,6 +11,14 @@ SWI-Prolog in Emacs.
 For further details, please consult the manual:
 <https://eshelyaron.com/sweep.html>.
 
+* Version 0.6.2 on 2022-10-15
+
+** Added a Prolog indicating the Prolog is running under ~sweep~
+
+=sweeprolog.el= now creates a boolean Prolog flag ~sweep~ set to ~true~ when
+initiating Prolog, to allow users to customize their Prolog init file
+accordingly.
+
 * Version 0.6.0 on 2022-10-10
 
 ** Added integration with Flymake
index a925fa54b66df7716a3c214125b568e09210feff..9f9d9a51b94a3cfb02eff33d475a74301a6d1047 100644 (file)
@@ -150,6 +150,11 @@ which the user is free to extend with e.g.:
   (add-to-list 'sweeprolog-init-args "--stack-limit=512m")
 #+end_src
 
+#+CINDEX: sweep Prolog flag
+The default value of ~sweeprolog-init-args~ is set to load the Prolog
+helper library =sweep.pl= and to create a boolean Prolog flag ~sweep~, set
+to ~true~, which indicates to SWI-Prolog that it is running under ~sweep~.
+
 #+VINDEX: sweeprolog-init-on-load
 To inhibit =sweeprolog= from initializing Prolog on load, set the user-option
 =sweeprolog-init-on-load= to nil.