From 31210d74f07920a99012cc5d0f61dcfcd1baa5e3 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 18 Jul 2023 16:37:21 +0300 Subject: [PATCH] ; 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 c60e967..e5c510b 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 -- 2.39.5