emacs-devel
[Top][All Lists]
Advanced

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

Re: Confused by y-or-n-p


From: martin rudalics
Subject: Re: Confused by y-or-n-p
Date: Fri, 25 Dec 2020 10:07:17 +0100

>> (defun minibuffer-lock ()
>>    (when (active-minibuffer-window)
>>      (select-window (active-minibuffer-window))))
>>
>> (add-hook 'post-command-hook #'minibuffer-lock)
>
> Would something like that work to give users an option discussed in
> this thread for y-or-n-p?

There are two orthogonal issues here: Whether to enable recursive
minibuffers and whether to allow leaving the minibuffer window while
asking a 'y-or-n-p' question.  The above addresses the latter only.

martin



reply via email to

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