unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] externals/vertico 3e82c21 1/2: Higher priority for the hook
       [not found] ` <20210710145716.B8473211A0@vcs0.savannah.gnu.org>
@ 2021-07-10 15:13   ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2021-07-10 15:13 UTC (permalink / raw)
  To: Daniel Mendler; +Cc: emacs-devel

>     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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-10 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210710145714.942.20410@vcs0.savannah.gnu.org>
     [not found] ` <20210710145716.B8473211A0@vcs0.savannah.gnu.org>
2021-07-10 15:13   ` [elpa] externals/vertico 3e82c21 1/2: Higher priority for the hook Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).