Testing completion-read.

This commit is contained in:
Derek Taylor
2024-04-12 00:26:37 -05:00
parent aeaa014498
commit e2ea74fbde
2 changed files with 22 additions and 0 deletions

View File

@@ -700,3 +700,12 @@
which-key-max-description-length 25
which-key-allow-imprecise-window-fit nil
which-key-separator "" ))
(defun reader ()
(interactive)
(let ((choices '(("First" . 'first-choice)
("Second" . 'second-choice)
("Third" . 'third-choice))))
(alist-get
(completing-read "Choose: " choices)
choices nil nil 'equal)))