                             (set (make-local-variable 'company-backends)
                                  '((company-irony
                                     company-irony-c-headers
-                                    ;; company-semantic
-                                    company-c-headers
                                     company-yasnippet
                                     :with
-                                    company-keywords
                                     company-abbrev
                                     company-dabbrev-code
                                     company-dabbrev
                                     company-files)))))
   (add-hook 'c-mode-hook 'flycheck-mode)
-  ;; (add-hook 'c-mode-hook 'semantic-mode)
-  ;; (add-hook 'c-mode-hook 'global-ede-mode)
-  ;(add-hook 'c-mode-hook 'global-srecode-minor-mode)
   (add-hook 'c-mode-hook 'irony-mode)
   (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
   (add-hook 'irony-mode-hook 'flycheck-irony-setup)


(use-package company-irony
  :ensure t
  :commands company-irony-setup-begin-commands)

(use-package company-irony-c-headers
  :ensure t)

(use-package flycheck-irony
  :ensure t

  ("\\.h$" . c-mode)
  :bind
  (:map c-mode-map
        ("C-c r e"    . emr-show-refactor-menu)
        ("C-c r s"    . srefactor-refactor-at-point)
        (";"          . maio/electric-semicolon))
