Subject: bug#34939: Some minibuffer behaviour is annoying

From: Dmitry Gutov <[email-masked]>
Date: Sat, 25 May 2019 01:49:00 +0300

On 31.03.2019 22:49, Juri Linkov wrote:
> There is a special function minibuffer-message for this purpose:
> 
>    (add-hook 'minibuffer-setup-hook
>              (lambda ()
>                (setq-local command-error-function
>                            (lambda (error context _command)
>                              (minibuffer-message
>                               (concat context (get (car error)
>                                                    'error-message)))))))

So um, what's the best way to make this behavior the default?