emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ebdb eee0868 03/11: Downcase all-completions string whe


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb eee0868 03/11: Downcase all-completions string when searching
Date: Sun, 22 Oct 2017 13:17:01 -0400 (EDT)

branch: externals/ebdb
commit eee0868f2e528fdf9871f921a0ec1f0915154512
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]