summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2026-01-22 08:48:23 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2026-01-22 08:48:28 +0100
commit2e2cfb788b7d448e7f23510203211b279ae1e064 (patch)
treef01d842e7f63b942b816f3eecb9355403ea31b10
parentacff7ceb541661b7c9f8ef2c1d8d4fc7401dfd98 (diff)
Add comment regarding metadata merging
-rw-r--r--cape.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/cape.el b/cape.el
index c2cd78b..6105366 100644
--- a/cape.el
+++ b/cape.el
@@ -261,6 +261,8 @@ precedence over the properties specified as part of the Capf result."
(and aff `((affixation-function . ,aff))))))
(if alist
(lambda (str pred action)
+ ;; We cannot use `completion-table-with-metadata' since the new
+ ;; metadata should be merged with the one of the underlying table.
(if (eq action 'metadata)
`(metadata ,@alist
,@(and (functionp table)