branch: elpa/flx commit 1d86d3bc09cda270d4a36953d387c8099ca72a22 Author: Le Wang <le.w...@agworld.com.au> Commit: Le Wang <le.w...@agworld.com.au>
cache clearing advice should be "before" - advice for `ido-restrict-to-matches` #17 --- flx-ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flx-ido.el b/flx-ido.el index 89d17a1519..9ae2cc98d3 100644 --- a/flx-ido.el +++ b/flx-ido.el @@ -193,7 +193,7 @@ Remove flx properties after." (clrhash flx-ido-narrowed-matches-hash)) ad-do-it) -(defadvice ido-restrict-to-matches (after flx-ido-reset-hash activate) +(defadvice ido-restrict-to-matches (before flx-ido-reset-hash activate) "Clear flx narrowed hash." (when flx-ido-mode (clrhash flx-ido-narrowed-matches-hash)))