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

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

Re: Deleting Completion Buffer


From: Kevin Rodgers
Subject: Re: Deleting Completion Buffer
Date: Thu, 15 May 2003 09:01:38 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Jeba Bhaskaran wrote:

Is there a way to automatically delete the completion
buffer after a selection has been made?

Untested:


(defadvice exit-minibuffer (after kill-completion-buffer activate)
  "Kill the *Completions* buffer."
  (let ((completions-buffer (get-buffer "*Completions*")))
    (if completions-buffer
        (kill-buffer completions-buffer))))

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

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