branch: elpa/sweeprolog
commit 31210d74f07920a99012cc5d0f61dcfcd1baa5e3
Author: Eshel Yaron <[email protected]>
Commit: Eshel Yaron <[email protected]>
; Simplify list notation
* sweeprolog.el (sweeprolog-module-completion-table): Simplify list
notation of completion 'metadata' list.
---
sweeprolog.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/sweeprolog.el b/sweeprolog.el
index c60e96756f..e5c510b434 100644
--- a/sweeprolog.el
+++ b/sweeprolog.el
@@ -1249,11 +1249,10 @@ STRING, PREDICATE and ACTION."
(funcall predicate string))))
((eq action 'metadata)
'(metadata
- .
- ((category . sweeprolog-module)
- (annotation-function . sweeprolog-module-minibuffer-annotation)
- (affixation-function . sweeprolog-module-minibuffer-affixation)
- (group-function . sweeprolog-module-minibuffer-group))))
+ (category . sweeprolog-module)
+ (annotation-function . sweeprolog-module-minibuffer-annotation)
+ (affixation-function . sweeprolog-module-minibuffer-affixation)
+ (group-function . sweeprolog-module-minibuffer-group)))
(t (complete-with-action action
(sweeprolog-modules-collection string)
string