branch: elpa/flx commit b96f2c3e1de2ac579d7185e745390abaa4f19087 Merge: dd4b4d50da 2a816e25df Author: Le Wang <lew...@users.noreply.github.com> Commit: Le Wang <lew...@users.noreply.github.com>
Merge pull request #80 from tarsius/silencio Move definition of flx-ido-mode to appease byte-compiler --- flx-ido.el | 16 ++++++++-------- misc/.nosearch | 0 2 files 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 diff --git a/misc/.nosearch b/misc/.nosearch new file mode 100644 index 0000000000..e69de29bb2