aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-04-14 03:30:47 +0000
committerStefan Monnier2008-04-14 03:30:47 +0000
commit2ed430f471ba94b80586e9c955341b5d180acdee (patch)
tree33af6d7de00ee043e75a95c57e71da9dd19670fa
parent52434c810ea7264df27e6a1e8a0ce47ac58a1d62 (diff)
downloademacs-2ed430f471ba94b80586e9c955341b5d180acdee.tar.gz
emacs-2ed430f471ba94b80586e9c955341b5d180acdee.zip
(minibuffer-try-completion, minibuffer-all-completions): Fix last change.
-rw-r--r--lisp/minibuffer.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index c112db5a7c8..180a44dea15 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -218,7 +218,7 @@ ALL-COMPLETIONS is the function that lists the completions.")
218 (if (and (symbolp table) (get table 'no-completion-styles)) 218 (if (and (symbolp table) (get table 'no-completion-styles))
219 (try-completion string table pred) 219 (try-completion string table pred)
220 (completion--some (lambda (style) 220 (completion--some (lambda (style)
221 (funcall (intern (concat style "try-completion")) 221 (funcall (nth 1 (assq style completion-styles-alist))
222 string table pred)) 222 string table pred))
223 completion-styles))) 223 completion-styles)))
224 224
@@ -227,7 +227,7 @@ ALL-COMPLETIONS is the function that lists the completions.")
227 (if (and (symbolp table) (get table 'no-completion-styles)) 227 (if (and (symbolp table) (get table 'no-completion-styles))
228 (all-completions string table pred hide-spaces) 228 (all-completions string table pred hide-spaces)
229 (completion--some (lambda (style) 229 (completion--some (lambda (style)
230 (funcall (intern (concat style "all-completions")) 230 (funcall (nth 2 (assq style completion-styles-alist))
231 string table pred hide-spaces)) 231 string table pred hide-spaces))
232 completion-styles)))) 232 completion-styles))))
233 233