internal-complete-buffer-except

internal-complete-buffer-except is a compiled Lisp function in `minibuffer.el'.

(internal-complete-buffer-except &optional BUFFER)

Perform completion on all buffers excluding BUFFER.
BUFFER nil or omitted means use the current buffer.
Like `internal-complete-buffer', but removes BUFFER from the completion list.