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: Eli Zaretskii
Subject: Re: Confused by y-or-n-p
Date: Fri, 25 Dec 2020 13:31:39 +0200

> Cc: Eli Zaretskii <eliz@gnu.org>, Richard Stallman <rms@gnu.org>,
>  emacs-devel@gnu.org
> From: martin rudalics <rudalics@gmx.at>
> Date: Fri, 25 Dec 2020 09:42:10 +0100
> 
>  > Here is a possible way to make the minibuffer modal:
>  >
>  > (defun minibuffer-lock ()
>  >    (when (active-minibuffer-window)
>  >      (select-window (active-minibuffer-window))))
>  >
>  > (add-hook 'post-command-hook #'minibuffer-lock)
> 
> That's too harsh because it would affect all minibuffer interactions.

Not if done only by the relevant commands/functions, right?



reply via email to

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