.emacs-obsolete
changeset 1445 b1f7af188fa2
parent 1436 bbc10fe15aa5
child 1494 874f705f7be4
--- a/.emacs-obsolete	Thu Oct 13 21:11:11 2016 +0300
+++ b/.emacs-obsolete	Thu Oct 13 21:17:44 2016 +0300
@@ -341,3 +341,16 @@
  ((eq window-system 'w32)
   (set-frame-font "Courier New-10:antialias=none") ))
 
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "smex")
+
+;; icomplete also allow flex matching with '*', try 'M-x *copy*as TAB'
+
+;; `smex' is  alternative for `icomplete'.
+;; https://github.com/nonsequitur/smex/
+;; It is based on `ido'.
+(ignore-errors
+  (require 'smex)
+  (smex-initialize)
+  (global-set-key (kbd "M-X") 'smex))
+