(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)))
(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))))