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

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

bug#34939: Some minibuffer behaviour is annoying


From: Dmitry Gutov
Subject: bug#34939: Some minibuffer behaviour is annoying
Date: Sat, 25 May 2019 01:49:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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?





reply via email to

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