home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!doc.ic.ac.uk!news!dbh
- From: dbh@doc.ic.ac.uk (Denis Howe)
- Newsgroups: gnu.emacs.help
- Subject: Re: delete-all-buffers?
- Message-ID: <DBH.92Aug21153257@wombat.doc.ic.ac.uk>
- Date: 21 Aug 92 14:32:57 GMT
- References: <1992Aug18.141726.4044@bernina.ethz.ch>
- <HOLLEN.92Aug18120152@peg.megatek.UUCP>
- <RATINOX.92Aug19140605@splinter.coe.northeastern.edu>
- <170jknINNjfq@wendy-fate.UU.NET>
- <RATINOX.92Aug20211658@splinter.coe.northeastern.edu>
- Organization: Computing Department, Imperial College, London, UK
- Lines: 11
- NNTP-Posting-Host: wombat.doc.ic.ac.uk
- In-reply-to: ratinox@splinter.coe.northeastern.edu's message of 21 Aug 92 01:16:58 GMT
-
- Here's a little function I use a lot:
-
- (defun kill-current-buffer () "Kill the current buffer & its window"
- (interactive)
- (kill-buffer ())
- (or (one-window-p) (delete-window)))
-
- (define-key ctl-x-map "\C-K" 'kill-current-buffer)
- --
- Denis Howe <dbh@doc.ic.ac.uk>
- So Biggs, you're the idiot who bought all these IBM PCs. You're fired!
-