                           (flymake-display-err-menu-for-current-line)))
        )))
 
-(when (kui/package-require 'helm nil nil t)
+(with-pkg 'helm
 
   (setq
    helm-ff-transformer-show-only-basename nil


  (guide-key-mode 1))

(when (and (kui/package-require 'flycheck nil nil t)
           (kui/package-require 'flycheck-pos-tip nil nil t))
  (custom-set-variables
      '(flycheck-display-errors-function #'flycheck-pos-tip-error-messages)))

;; company-mode
(when (kui/package-require 'company nil nil t)

  (setq company-global-modes nil
        ;; 自動補完を有効

  )

;; auto-complete-mode
(with-pkg 'auto-complete-config
  :package 'auto-complete

  (ac-config-default)

  ;; ac-modes に登録されてるメジャーモード時に ac 発動
