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

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

bug#13017: 24.2.90; minibuf-eldef-setup-minibuffer should append minibuf


From: Stefan Monnier
Subject: bug#13017: 24.2.90; minibuf-eldef-setup-minibuffer should append minibuf-eldef-update-minibuffer to post-command-hook
Date: Tue, 27 Nov 2012 20:42:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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.


        Stefan





reply via email to

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