Function: cl-nsubstitute-if-not
cl-nsubstitute-if-not is an autoloaded and byte-compiled function
defined in cl-seq.el.gz.
Signature
(cl-nsubstitute-if-not NEW PREDICATE SEQ [KEYWORD VALUE]...)
Documentation
Substitute NEW for all items not satisfying PREDICATE in SEQ.
This is a destructive function; it reuses the storage of SEQ whenever possible.
Keywords supported: :key :count :start :end :from-end
Aliases
nsubstitute-if-not (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-seq.el.gz
;;;###autoload
(defun cl-nsubstitute-if-not (new pred list &rest cl-keys)
"Substitute NEW for all items not satisfying PREDICATE in SEQ.
This is a destructive function; it reuses the storage of SEQ whenever possible.
\nKeywords supported: :key :count :start :end :from-end
\n(fn NEW PREDICATE SEQ [KEYWORD VALUE]...)"
(declare (important-return-value t))
(apply #'cl-nsubstitute new nil list :if-not pred cl-keys))