   (interactive)
   (if (minibufferp)
       (minibuffer-complete)
-    (if (or (not yas/minor-mode)
-            (null (do-yas-expand)))
-        (if (check-expansion)
-            (company-complete-common)
-          (indent-for-tab-command)
-          )
+					;(if (or (not yas/minor-mode)
+					;(null (do-yas-expand)))
+    (if (check-expansion)
+	(company-complete-common)
+      (indent-for-tab-command)
       )
+					;)
     )
   )
 

  (elpa-require 'yasnippet)
  (elpa-require 'yasnippet-bundle)
  )
;(add-hook 'after-init-hook 'my-yas)

;; icicles.
(defun my-icicle ()

  (my-h2s)	
  (my-cscope)
  ;; add yas template.
  (yas/define-snippets 'c-mode my-yas-c-comment 'cc-mode)
  )

(add-hook 'c-mode-common-hook 
