         smtpmail-smtp-server "mail.messagingengine.com"
         smtpmail-smtp-service 587))
 
+(require 'org)
+
 (defun what-face (pos) ;; under cursor
   (interactive "d")
   (let ((face (or (get-char-property (point) 'read-face-name)

(require 'clang-format)
(fset 'c-indent-region 'clang-format-region)

(bind-keys :map c-mode-base-map
           ("<C-tab>" . company-complete)
           ("C-M-\\" . clang-format-region)
           ("C-i" . clang-format)
           ("C-." . helm-imenu)
           ("M-o" . cff-find-other-file))

(setq inf-clojure-program '("localhost" . 9999))   ;; "planck"
(add-hook 'clojure-mode-hook 'inf-clojure-minor-mode)

(setq compile-command "ninja")

(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)
