Function: icomplete-simple-completing-p
icomplete-simple-completing-p is a byte-compiled function defined in
icomplete.el.gz.
Signature
(icomplete-simple-completing-p)
Documentation
Non-nil if current window is a minibuffer that's doing simple completion.
Conditions are:
the selected window is a minibuffer,
and not in the middle of macro execution,
and the completion table is not a function (which would
indicate some non-standard, non-simple completion mechanism,
like file-name and other custom-func completions),
and icomplete-with-completion-tables doesn't restrict completion.
Source Code
;; Defined in /usr/src/emacs/lisp/icomplete.el.gz
;;;_ > icomplete-simple-completing-p ()
(defun icomplete-simple-completing-p ()
"Non-nil if current window is a minibuffer that's doing simple completion.
Conditions are:
the selected window is a minibuffer,
and not in the middle of macro execution,
and the completion table is not a function (which would
indicate some non-standard, non-simple completion mechanism,
like file-name and other custom-func completions),
and `icomplete-with-completion-tables' doesn't restrict completion."
(unless executing-kbd-macro
(let ((table (icomplete--completion-table)))
(and table
(or (not (functionp table))
(eq icomplete-with-completion-tables t)
(member table icomplete-with-completion-tables))))))