emacs-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: kill-matching-buffers without confirmation
From
:
Kaushal Modi
Subject
:
Re: kill-matching-buffers without confirmation
Date
:
Mon, 22 May 2017 18:21:46 +0000
On Mon, May 22, 2017 at 2:11 PM R. Diez <
address@hidden
> wrote:
Please copy me on the answer, as I am not subscribed to the list.
For future, all help questions can go to
address@hidden
To answer your question, here is one way:
(defun kill-matching-buffers-just-do-it ()
"Kill buffers whose names match REGEXP, without asking."
(interactive)
(cl-letf (((symbol-function 'kill-buffer-ask) #'kill-buffer))
(call-interactively #'kill-matching-buffers)))
--
Kaushal Modi
reply via email to
[
Prev in Thread
]
Current Thread
[
Next in Thread
]
kill-matching-buffers without confirmation
,
R. Diez
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Kaushal Modi
<=
Re: kill-matching-buffers without confirmation
,
Clément Pit-Claudel
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Kaushal Modi
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Clément Pit-Claudel
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Kaushal Modi
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Clément Pit-Claudel
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Kaushal Modi
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Stefan Monnier
,
2017/05/22
RE: kill-matching-buffers without confirmation
,
Drew Adams
,
2017/05/22
Re: kill-matching-buffers without confirmation
,
Yuri Khan
,
2017/05/23
Re: kill-matching-buffers without confirmation
,
Kaushal Modi
,
2017/05/23
Prev by Date:
Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".
Next by Date:
Re: kill-matching-buffers without confirmation
Previous by thread:
kill-matching-buffers without confirmation
Next by thread:
Re: kill-matching-buffers without confirmation
Index(es):
Date
Thread