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

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

Re: child guard cap against creating useless buffers with C-x b


From: Kevin Rodgers
Subject: Re: child guard cap against creating useless buffers with C-x b
Date: Tue, 06 Feb 2001 23:16:51 GMT

jidanni@kimo.FiXcomTHiS.tw (Dan Jacobson) wrote:
> I however find that this 'create buffer if not exist' feature of
> switch-to-buffer I only use 1% of the time, the rest of the time I'm
> just creating those mistaken buffers.

Straight from advice.el:

(defadvice switch-to-buffer (before existing-buffers-only activate)
  "When called interactively switch to existing buffers only, unless
when called with a prefix argument."
  (interactive
   (list (read-buffer "Switch to buffer: " (other-buffer)
                      (null current-prefix-arg)))))

--
Kevin Rodgers <kevinr@ihs.com>          Lead Software Engineer
Information Handling Services           Electronic Systems Development
15 Inverness Way East, M/S A114         GO BUFFS!
Englewood CO 80112-5776 USA             1 303 397 2807[voice]


Sent via Deja.com
http://www.deja.com/



reply via email to

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