[Top][All Lists]

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

Re: kill-buffer and delete-frame

From: Le Wang
Subject: Re: kill-buffer and delete-frame
Date: Thu, 29 Aug 2002 23:02:31 GMT
User-agent: KNode/0.7.1

tcp wrote:

> hi all,
>   I normally open file in a new frame. I would like to know how can I
>   kill the file and the frame at the same instead of doing:
>     (kill-buffer BUFFER)
>     (delete-frame)
>   Thanks!

Make your own function, bind it to a key for easy access:

(defun kill-this-buffer-and-frame ()

(global-set-key [(f2)] 'kill-this-buffer-and-frame)



reply via email to

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