summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-11-09 13:06:20 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-11-09 13:06:20 +0100
commit0a7885ab7dc57c6a75510c68398976e1494e5894 (patch)
tree2bbc24dc55158bde52f707e5ce990550a7d986cd
parent863d767182bc5d9358623e5fac86eecdd35ce90f (diff)
Update readme
-rw-r--r--README.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.org b/README.org
index 2a4fe4f..f7f3591 100644
--- a/README.org
+++ b/README.org
@@ -141,7 +141,7 @@ small example completion backend, which can be used with both
('prefix
(when-let (beg (save-excursion
(and (re-search-backward "[;:]" (pos-bol) t) (point))))
- (cons (buffer-substring-no-properties beg (point)) t)))
+ (list (buffer-substring-no-properties beg (point)) "" t)))
('candidates (all-completions arg demo-alist))
('annotation (concat " " (cdr (assoc arg demo-alist))))
('post-completion