From: Drew Adams <drew.adams@oracle.com>
To: Tim Johnson <tim@akwebsoft.com>, Emacs <Help-gnu-emacs@gnu.org>
Subject: RE: Kill all visited buffers
Date: Sat, 21 Nov 2015 12:43:15 -0800 (PST) [thread overview]
Message-ID: <57a76b37-35ec-45bd-a8b5-90031dbe91c3@default> (raw)
In-Reply-To: <20151121202820.GG3316@mail.akwebsoft.com>
> Google has failed me. I'm looking for a way to programmatically kill
> all _visited_ buffers.
Filter (buffer-list) with function `buffer-file-name'. E.g.:
(dolist (buf (cl-remove-if-not #'buffer-file-name (buffer-list)))
(kill-buffer buf))
next prev parent reply other threads:[~2015-11-21 20:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 20:28 Kill all visited buffers Tim Johnson
2015-11-21 20:43 ` Drew Adams [this message]
2015-11-21 20:48 ` Tim Johnson
[not found] <mailman.404.1448137712.31583.help-gnu-emacs@gnu.org>
2015-11-21 20:44 ` Pascal J. Bourguignon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57a76b37-35ec-45bd-a8b5-90031dbe91c3@default \
--to=drew.adams@oracle.com \
--cc=Help-gnu-emacs@gnu.org \
--cc=tim@akwebsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).