Subject: bug#13017: 24.2.90; minibuf-eldef-setup-minibuffer should append minibuf-eldef-update-minibuffer to post-command-hook

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 05 Feb 2014 16:55:44 -0800

Stefan Monnier <[email-masked]> writes:

>> In minibuf-eldef-setup-minibuffer there is this form
>
>>     (add-hook 'post-command-hook #'minibuf-eldef-update-minibuffer nil t)
>
>> I think this is not correct.  The APPEND parameter of add-hook should be
>> t so all changes made to the minibuffer content by previous functions in
>> post-command-hook are taken into account by
>> minibuf-eldef-update-minibuffer.
>
> That sounds reasonable, but I'd be happier to know of a concrete example
> where this was needed.

Christopher, do you have an example that demonstrates why this is needed?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/