branch: externals/ebdb commit eee0868f2e528fdf9871f921a0ec1f0915154512 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Downcase all-completions string when searching * ebdb.el (ebdb-search): ebdb-puthash downcases its strings, so downcase the strings when doing all-completions, too. Actually, maybe we shouldn't be downcasing strings on hash -- is that leftover from when the hashtable was actually an obarray? --- ebdb.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ebdb.el b/ebdb.el index ff948db..65fc15f 100644 --- a/ebdb.el +++ b/ebdb.el @@ -5189,7 +5189,8 @@ string must be a prefix of the sought string." (stringp crit) (string-prefix-p "^" crit) (setq completed-strings - (all-completions (substring crit 1) ebdb-hashtable) + (all-completions (downcase (substring crit 1)) + ebdb-hashtable) recs (delq nil (apply