(minibuffer-try-completion, minibuffer-all-completions): Fix last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Apr 2008 03:30:47 +0000 (03:30 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Apr 2008 03:30:47 +0000 (03:30 +0000)
lisp/minibuffer.el

index c112db5..180a44d 100644 (file)
@@ -218,7 +218,7 @@ ALL-COMPLETIONS is the function that lists the completions.")
   (if (and (symbolp table) (get table 'no-completion-styles))
       (try-completion string table pred)
     (completion--some (lambda (style)
-                        (funcall (intern (concat style "try-completion"))
+                        (funcall (nth 1 (assq style completion-styles-alist))
                                  string table pred))
                       completion-styles)))
 
@@ -227,7 +227,7 @@ ALL-COMPLETIONS is the function that lists the completions.")
     (if (and (symbolp table) (get table 'no-completion-styles))
         (all-completions string table pred hide-spaces)
       (completion--some (lambda (style)
-                          (funcall (intern (concat style "all-completions"))
+                          (funcall (nth 2 (assq style completion-styles-alist))
                                    string table pred hide-spaces))
                         completion-styles))))