[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wait for a specific command call
From: |
Kevin Rodgers |
Subject: |
Re: Wait for a specific command call |
Date: |
Wed, 17 Nov 2004 10:59:01 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Matthias wrote:
> I have written a command displaying a list of buffer, the user can
> edit it, etc. I want this command to end (or return) if and only if
> the user call `quit-window'...
>
> It seems that it is possible using `recursive-edit' but the manual
> says `Most applications should not use recursive editing, except as
> part of using the minibuffer.'
Why don't you try doing it that way, and see if you like it?
> Any other idea?
Check out how electric-buffer-list is implemented in ebuff-menu.el
--
Kevin Rodgers