 
 (defun ar/ediff-bsh ()
   "Function to be called before any buffers or window setup for ediff."
-  (remove-hook 'ediff-quit-hook 'ediff-cleanup-mess)
+  (remove-hook 'ediff-quit-hook #'ediff-cleanup-mess)
   (window-configuration-to-register ar/ediff-bwin-reg))
 
 (defun ar/ediff-aswh ()
   "Setup hook used to remove the `ediff-cleanup-mess' function.  It causes errors."
-  (remove-hook 'ediff-quit-hook 'ediff-cleanup-mess))
+  (remove-hook 'ediff-quit-hook #'ediff-cleanup-mess))
 
 (defun ar/ediff-qh ()
   "Function to be called when ediff quits."
-  (remove-hook 'ediff-quit-hook 'ediff-cleanup-mess)
+  (remove-hook 'ediff-quit-hook #'ediff-cleanup-mess)
   (ediff-cleanup-mess)
   (jump-to-register ar/ediff-bwin-reg))
 
-(add-hook 'ediff-before-setup-hook 'ar/ediff-bsh)
-(add-hook 'ediff-after-setup-windows-hook 'ar/ediff-aswh);
-(add-hook 'ediff-quit-hook 'ar/ediff-qh)
+(add-hook 'ediff-before-setup-hook #'ar/ediff-bsh)
+(add-hook 'ediff-after-setup-windows-hook #'ar/ediff-aswh);
+(add-hook 'ediff-quit-hook #'ar/ediff-qh)
 
 ;; Highlight lines longer than 100 columns.
 (require 'whitespace)

(setq auto-revert-check-vc-info t)

(use-package expand-region :ensure t)
(global-set-key (kbd "C-c w") 'er/expand-region)

(require 'recentf)
(setq recentf-max-saved-items 200

(setq company-show-numbers t)
(global-company-mode)
(add-to-list 'company-backends 'company-c-headers)
(global-set-key (kbd "<backtab>") #'company-complete)

;; (add-to-list 'load-path
;;              (concat (getenv "HOME") "/.emacs.d/downloads/rtags/src"))
