    objc-mode-map
    ("M-." . rtags-find-symbol-at-point))
   :config
+  ;; Work in progress.
+  ;; (use-package flycheck-rtags)
   (setq rtags-path "~/stuff/active/code/rtags/bin")
   (setq rtags-use-helm t))
+
+;; Work in progress.
+;; (defun ar/flycheck-rtags-setup ()
+;;   (interactive)
+;;   (flycheck-select-checker 'rtags)
+;;   (setq-local flycheck-highlighting-mode nil) ;; RTags creates more accurate overlays.
+;;   (setq-local flycheck-check-syntax-automatically nil))
 
 ;; Needed for endlessparentheses's hack.
 (use-package cider :ensure t)

(use-package autorevert
  ;; Disabling while observing git performace on large repo.
  ;; :config
  ;; (global-auto-revert-mode)
  )


  (require 'smartparens-config)
  (require 'smartparens-html)
  (require 'smartparens-python)
  (smartparens-global-strict-mode)
  :bind
  (:map prog-mode-map
        ("C-c <right>" . sp-forward-slurp-sexp)
        ("C-c <left>" . sp-backward-slurp-sexp)))

(defun ar/sp-backward-delete-char-advice-fun (orig-fun &rest r)
  "Play nice with `hungry-delete-backward' in ORIG-FUN and R."
