summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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