emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/flx a792c2c5f1 053/182: change advice to before, fix comme


From: ELPA Syncer
Subject: [nongnu] elpa/flx a792c2c5f1 053/182: change advice to before, fix comments
Date: Tue, 13 Dec 2022 03:59:27 -0500 (EST)

branch: elpa/flx
commit a792c2c5f1cb04d66b09f7503d4fd84b6e39cbe7
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>

    change advice to before, fix comments
---
 flx-ido.el | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/flx-ido.el b/flx-ido.el
index 9ae2cc98d3..5a61a12abc 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -13,7 +13,7 @@
 ;; Version: 0.2
 ;; Last-Updated:
 ;;           By:
-;;     Update #: 57
+;;     Update #: 60
 ;; URL:
 ;; Keywords:
 ;; Compatibility:
@@ -185,13 +185,10 @@ item, in which case, the ending items are deleted."
 
   ad-do-it)
 
-(defadvice ido-read-internal (around flx-ido-reset-hash activate)
-  "Clear flx narrowed hash beforehand.
-
-Remove flx properties after."
+(defadvice ido-read-internal (before flx-ido-reset-hash activate)
+  "Clear flx narrowed hash beforehand."
   (when flx-ido-mode
-    (clrhash flx-ido-narrowed-matches-hash))
-  ad-do-it)
+    (clrhash flx-ido-narrowed-matches-hash)))
 
 (defadvice ido-restrict-to-matches (before flx-ido-reset-hash activate)
   "Clear flx narrowed hash."



reply via email to

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