emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/vertico 3e82c21 1/2: Higher priority for the hook


From: Stefan Monnier
Subject: Re: [elpa] externals/vertico 3e82c21 1/2: Higher priority for the hook
Date: Sat, 10 Jul 2021 11:13:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>     Higher priority for the hook
[...]
> -  (add-hook 'post-command-hook #'vertico--exhibit -99 'local))
> +  (add-hook 'post-command-hook #'vertico--exhibit -90 'local))

I think such priorities should always come with a comment about why this
specific number was chosen (typically referring to some conflict with
other functions used on that hook, and/or a doc describing which
priority should be used for what on that hook).


        Stefan




reply via email to

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