Function: kill-matching-buffers-no-ask
kill-matching-buffers-no-ask is an interactive and byte-compiled
function defined in files.el.gz.
Signature
(kill-matching-buffers-no-ask REGEXP &optional INTERNAL-TOO)
Documentation
Kill buffers whose names match the regular expression REGEXP.
Interactively, prompt for REGEXP.
Like kill-matching-buffers, but doesn't ask for confirmation
before killing each buffer.
Ignores buffers whose names start with a space, unless the
optional argument INTERNAL-TOO (interactively, the prefix argument)
is non-nil.
Probably introduced at or before Emacs version 30.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun kill-matching-buffers-no-ask (regexp &optional internal-too)
"Kill buffers whose names match the regular expression REGEXP.
Interactively, prompt for REGEXP.
Like `kill-matching-buffers', but doesn't ask for confirmation
before killing each buffer.
Ignores buffers whose names start with a space, unless the
optional argument INTERNAL-TOO (interactively, the prefix argument)
is non-nil."
(interactive "sKill buffers matching this regular expression: \nP")
(kill-matching-buffers regexp internal-too t))