branch: elpa/flx commit 3d159069428b91874965bd47fb420c3eead55618 Author: Le Wang <le.w...@agworld.com.au> Commit: Le Wang <le.w...@agworld.com.au>
move demo into misc --- flx-scratch-helm.el => misc/flx-helm-demo.el | 0 ido-demo.el => misc/flx-ido-demo.el | 7 +++++-- flx-test-list.el => misc/flx-test-list.el | 0 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/flx-scratch-helm.el b/misc/flx-helm-demo.el similarity index 100% rename from flx-scratch-helm.el rename to misc/flx-helm-demo.el diff --git a/ido-demo.el b/misc/flx-ido-demo.el similarity index 78% rename from ido-demo.el rename to misc/flx-ido-demo.el index 9321772f8b..5d786518d3 100644 --- a/ido-demo.el +++ b/misc/flx-ido-demo.el @@ -1,12 +1,15 @@ (require 'flx-ido) (require 'flx-test-list) -(defun ido-demo () +(setq ido-enable-flex-matching t + flx-ido-use t) + +(defun flx-ido-demo () (interactive) (require 'flx-test-list) (ido-completing-read ": " foo-list)) -(defun ido-big-demo (max) +(defun flx-ido-big-demo (max) (interactive "P") (setq max (or max most-positive-fixnum)) diff --git a/flx-test-list.el b/misc/flx-test-list.el similarity index 100% rename from flx-test-list.el rename to misc/flx-test-list.el