From: Eshel Yaron <me@eshelyaron.com>
Date: Fri, 25 Nov 2022 21:31:32 +0000 (+0200)
Subject: Announce recent changes in NEWS.org and bump version to 0.9.1
X-Git-Tag: V9.1.0-sweep-0.9.1
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92cca7eb12069daf7113452c2826ac5b1c96bf4b;p=sweep.git

Announce recent changes in NEWS.org and bump version to 0.9.1
---

diff --git a/NEWS.org b/NEWS.org
index a3268f2..c2d11d1 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -11,6 +11,24 @@ SWI-Prolog in Emacs.
 For further details, please consult the manual:
 <https://eshelyaron.com/sweep.html>.
 
+* Version 0.9.1 on 2022-11-25
+
+** Predicate completion adjusts candidates arity according to the context
+
+Completing predicate invocations with ~completion-at-point~ now takes
+into account the number of arguments that will be implicitly added to
+the created predicate call by the context, and adjusts the completion
+candidates appropriately.  This applies both to DCG non-terminal
+bodies (where two implicit arguments are normally added to all
+predicate invocations), and to meta-calls such as ~include(foo, L0, L)~
+where the sole argument of ~foo/1~ is implicitly passed by ~include/3~.
+
+** Variable highlighting now excludes anonymous variables
+
+Unlike other variables, occurrences of anonymous variables (~_~) are no
+longer highlighted when the cursor enters one, since being anonymous
+they are semantically unrelated to each other.
+
 * Version 0.9.0 on 2022-11-23
 
 ** New command for creating =PlUnit= test blocks
diff --git a/sweeprolog.el b/sweeprolog.el
index cde6cb5..f0eccbf 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Eshel Yaron <~eshel/dev@lists.sr.ht>
 ;; Keywords: prolog languages extensions
 ;; URL: https://git.sr.ht/~eshel/sweep
-;; Package-Version: 0.9.0
+;; Package-Version: 0.9.1
 ;; Package-Requires: ((emacs "28.1"))
 
 ;; This file is NOT part of GNU Emacs.