aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-04-08 11:05:59 -0400
committerSpencer Williams <spnw@plexwave.org>2025-04-08 11:05:59 -0400
commitef26aec8abb8e27cb84ab225a8547f5b7a17dec6 (patch)
tree192c7513044ea807bfee67b888273363cd153e08 /lisp
parentfa6aed3f1669d446aca399dcbf396eac76c82eff (diff)
Don't pass alist to completing read (fixes ido-completing-read issue)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/seam.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/seam.el b/lisp/seam.el
index 9186be9..9a4f744 100644
--- a/lisp/seam.el
+++ b/lisp/seam.el
@@ -216,7 +216,7 @@ naming. Must be a function taking two arguments: TITLE and TYPE."
(and self (list self)))))
(let ((files (cl-loop for (title . file) in notes
collect (cons (seam-format-title title (seam-get-note-type file)) file))))
- (let ((completion (string-trim (funcall seam-completing-read-function prompt files))))
+ (let ((completion (string-trim (funcall seam-completing-read-function prompt (mapcar #'car files)))))
(or (assoc completion files)
(cons completion nil)))))))