changeset 94068:f2cff391663b

(minibuffer-try-completion, minibuffer-all-completions): Fix last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 14 Apr 2008 03:30:47 +0000
parents 2dcfdc0c1d07
children a91b57e652cd
files lisp/minibuffer.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/minibuffer.el	Mon Apr 14 02:42:11 2008 +0000
+++ b/lisp/minibuffer.el	Mon Apr 14 03:30:47 2008 +0000
@@ -218,7 +218,7 @@
   (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 @@
     (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))))