From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.help Subject: Re: If exists, Kill buffer Date: Fri, 07 Oct 2005 18:37:55 +0200 Message-ID: <20051007183455.2342.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <20051007162552.GD1784@johnsons-web.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1128703233 21744 80.91.229.2 (7 Oct 2005 16:40:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2005 16:40:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 07 18:40:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENvEf-0006KJ-En for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 18:38:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENvEe-0007jZ-Tc for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Oct 2005 12:38:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENvES-0007jB-Ep for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 12:38:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENvEQ-0007iz-SF for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 12:38:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENvEQ-0007iw-Pq for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 12:38:02 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ENvEQ-0003uB-MV for help-gnu-emacs@gnu.org; Fri, 07 Oct 2005 12:38:03 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.12.11/8.12.11/perf-jw-tr) with ESMTP id j97Gc1FX000851 for ; Fri, 7 Oct 2005 18:38:01 +0200 (CEST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <20051007162552.GD1784@johnsons-web.com> X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.21.04 [en] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30036 Archived-At: On Fri, 07 Oct 2005 08:25:52 -0800 Tim Johnson wrote: #> I need a function that will kill a (named) buffer if it exists. #> 1)Is there one? How about (kill-buffer (get-buffer "blabla")) ? #> a)If not, I will need a function that checks for the existance #> of a buffer by name. C-h f get-buffer #> b)Is there one? Yes -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) When the GM grins, it is too late to run.