[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] :require-match for completions on alists
From: |
Eric Abrahamsen |
Subject: |
[STUMP] :require-match for completions on alists |
Date: |
Fri, 21 Mar 2014 11:01:57 +0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux) |
Also...
Using an alist for the completions argument to completing-read is
supported, but not if you use the :require-match key. Ie this works:
(completing-read (current-screen) "Pick a direction: "
'(("up" :up) ("down" :down)))
but not this:
(completing-read (current-screen) "Pick a direction: "
'(("up" :up) ("down" :down))
:require-match t)
The attached patch lets :require-match handle alist values correctly.
Eric
0002-Improve-completing-read-s-handling-of-completions.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [STUMP] :require-match for completions on alists,
Eric Abrahamsen <=