diff --git a/init.el b/init.el
index 610131483e0b5a91ac1b744b4e0ecd1c718113d9..6d01f3e6166234a232e1f690b10791e16e85520e 100644
--- a/init.el
+++ b/init.el
@@ -170,7 +170,7 @@ If IS-MAYBE is t then maybe install these packages."
               window-jump avy avy-menu counsel use-package undo-tree multi-term
               cnfonts powerline atom-one-dark-theme diminish list-utils
               company company-quickhelp cl-lib helm helm-describe-modes yasnippet
-	      treemacs popwin pdf-tools projectile hl-todo zeal-at-point
+	      treemacs popwin pdf-tools projectile hl-todo smex zeal-at-point
               )))
   (install-pack-list basic-edit-pack-list))
 (require 'popwin)
@@ -372,7 +372,9 @@ If IS-MAYBE is t then maybe install these packages."
 (add-hook 'prog-mode-hook 'hs-minor-mode)
 ;; semantic-mode
 (add-hook 'prog-mode-hook 'semantic-mode)
-(global-semantic-highlight-func-mode t)
+(add-hook 'prog-mode-hook
+	  '(lambda ()
+	     (setq global-semantic-highlight-func-mode t)))
 
 ;; cscope mode-----------------------------------------------------------------------
 (let ((cscope-pack-list
diff --git a/smex-items b/smex-items
new file mode 100644
index 0000000000000000000000000000000000000000..2829385686591e02aadd8117a6e3c9691a3f7333
--- /dev/null
+++ b/smex-items
@@ -0,0 +1,16 @@
+
+;; ----- smex-history -----
+(
+ cd
+ 5x5
+ arp
+ dbx
+ dig
+ erc
+ ert
+)
+
+;; ----- smex-data -----
+(
+ 
+)