]> code.delx.au - gnu-emacs/blobdiff - lisp/minibuffer.el
Add new function dom-remove-node
[gnu-emacs] / lisp / minibuffer.el
index 714ca851eb051c81f8ba86f25b732f4814ff2cd3..9190c1fb203644faebb6b3b0e42730ffbb3dcdff 100644 (file)
@@ -374,10 +374,10 @@ only if the argument is an element of TABLE which should be
 considered for completion.  STRING, PRED2, and ACTION are the
 usual arguments to completion tables, as described in
 `try-completion', `all-completions', and `test-completion'.  If
-STRICT is t, the predicate always applies; if nil it only applies
-if it does not reduce the set of possible completions to nothing.
-Note: TABLE needs to be a proper completion table which obeys
-predicates."
+STRICT is non-nil, the predicate always applies; if nil it only
+applies if it does not reduce the set of possible completions to
+nothing.  Note: TABLE needs to be a proper completion table which
+obeys predicates."
   (cond
    ((and (not strict) (eq action 'lambda))
     ;; Ignore pred1 since it doesn't really have to apply anyway.
@@ -1970,7 +1970,7 @@ if there was no valid completion, else t."
   "Default function to use for `completion-in-region-function'.
 Its arguments and return value are as specified for `completion-in-region'.
 This respects the wrapper hook `completion-in-region-functions'."
-  (with-wrapper-hook
+  (subr--with-wrapper-hook-no-warnings
       ;; FIXME: Maybe we should use this hook to provide a "display
       ;; completions" operation as well.
       completion-in-region-functions (start end collection predicate)