help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If exists, Kill buffer


From: Slawomir Nowaczyk
Subject: Re: If exists, Kill buffer
Date: Fri, 07 Oct 2005 18:37:55 +0200

On Fri, 07 Oct 2005 08:25:52 -0800
Tim Johnson <tim@johnsons-web.com> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]