 ;; see
 ;; http://stackoverflow.com/questions/15489319/how-can-i-skip-in-file-included-from-in-emacs-c-compilation-mode
 (setf (nth 5 (assoc 'gcc-include compilation-error-regexp-alist-alist)) 0)
-
-(defun my-c-mode-common-hook ()
-  (when *rtags*
-    (add-to-list 'company-backends 'company-rtags))
-  (setq-local fill-column 90))
-
-(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
 
 (require 'cff)
 (add-to-list 'cff-source-regexps '("\\.m$" . (lambda (base) (concat base ".m"))))

  ;; (delete '(scheme-mode . semantic-default-scheme-setup) semantic-new-buffer-setup-functions)
  (bind-keys :map prog-mode-map
             ("<C-tab>" . company-complete)
             ("C-." . my-imenu)))

(add-hook 'text-mode-hook 'auto-fill-mode)
(add-hook 'text-mode-hook 'my-non-special-modes-setup)

                     smartparens
                     elm-mode))

(set-language-environment "czech")
(setq default-input-method "czech-qwerty")
(prefer-coding-system 'utf-8)
