Function: minibuffer-default-add-completions
minibuffer-default-add-completions is a byte-compiled function defined
in simple.el.gz.
Signature
(minibuffer-default-add-completions)
Documentation
Return a list of all completions without the default value.
This function is used to add all elements of the completion table to
the end of the list of defaults just after the default value.
If you don't want to add initial completions to the default value,
use either minibuffer-setup-hook or minibuffer-with-setup-hook
to set the value of minibuffer-default-add-function to nil.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun minibuffer-default-add-completions ()
"Return a list of all completions without the default value.
This function is used to add all elements of the completion table to
the end of the list of defaults just after the default value.
If you don't want to add initial completions to the default value,
use either `minibuffer-setup-hook' or `minibuffer-with-setup-hook'
to set the value of `minibuffer-default-add-function' to nil."
(let ((def minibuffer-default)
;; Avoid some popular completions with undefined order
(all (unless (memq minibuffer-completion-table
`(help--symbol-completion-table ,obarray))
(all-completions ""
minibuffer-completion-table
minibuffer-completion-predicate))))
(if (listp def)
(append def all)
(cons def (delete def all)))))