]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 c112db5a7c8a492f42234fe2512028b360f0fbdf..180a44dea15f20a44768a6d6370dd0e0bb59c967 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))))