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

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

Re: Update `minibuffer-line' on buffer switches


From: Alexander Shukaev
Subject: Re: Update `minibuffer-line' on buffer switches
Date: Sun, 28 Jun 2015 19:19:41 +0200

On Sat, Jun 27, 2015 at 11:59 PM, Stefan Monnier <monnier@iro.umontreal.ca>
wrote:

> > The mode-line etc. are refreshed as part of redisplay.  That can't be
> > controlled from Lisp.
>
> Actually, you could do:
>
>    (add-function :after pre-redisplay-function #'minibuffer-line--update)
>
> which should re-compute the minibuffer-line before every redisplay.
>
>
>         Stefan
>
>
>
​Thanks, Stefan, but I keep receiving

Error during redisplay: (#[128 "\300\302\"\300\301\"\210\207" [apply
minibuffer-line--update #[128 "\300\301\"\210\300\302\"\207" [apply
redisplay--pre-redisplay-functions ignore nil] 4 nil nil] nil] 5 nil nil]
nil) signaled (wrong-number-of-arguments (0 . 0) 1) [30 times]
​
Any ideas?

Regards,
Alexander


reply via email to

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