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

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

[nongnu] elpa/flx 77e82ddd21 150/182: Move definition of flx-ido-mode to


From: ELPA Syncer
Subject: [nongnu] elpa/flx 77e82ddd21 150/182: Move definition of flx-ido-mode to appease byte-compiler
Date: Tue, 13 Dec 2022 03:59:39 -0500 (EST)

branch: elpa/flx
commit 77e82ddd217a80bed874dd56581326f7cfda1047
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Move definition of flx-ido-mode to appease byte-compiler
---
 flx-ido.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/flx-ido.el b/flx-ido.el
index bc85adab89..a4d971d640 100644
--- a/flx-ido.el
+++ b/flx-ido.el
@@ -233,6 +233,14 @@ Our implementation always uses flex and doesn't care about 
substring matches."
        items)
       (delete-consecutive-dups (nreverse matches) t))))
 
+;;;###autoload
+(define-minor-mode flx-ido-mode
+  "Toggle flx ido mode"
+  :init-value nil
+  :lighter ""
+  :group 'ido
+  :global t)
+
 (defadvice ido-exit-minibuffer (around flx-ido-reset activate)
   "Remove flx properties after."
   (let* ((obj (car ido-matches))
@@ -276,14 +284,6 @@ Our implementation always uses flex and doesn't care about 
substring matches."
 
 (add-hook 'ido-minibuffer-setup-hook 'flx-ido-reset nil)
 
-;;;###autoload
-(define-minor-mode flx-ido-mode
-  "Toggle flx ido mode"
-  :init-value nil
-  :lighter ""
-  :group 'ido
-  :global t)
-
 (provide 'flx-ido)
 
 ;;; flx-ido.el ends here



reply via email to

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