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

  (interactive "P")
  (let* ((current-prefix-arg (not non-recursive))
         (helm-current-prefix-arg non-recursive))
    (call-interactively 'helm-do-grep)))

;; ggtags code indexing.
;; https://github.com/leoliu/ggtags

                          (set (make-local-variable 'company-backends) '(company-go))
                          (company-mode)
                          (setq tab-width 2 indent-tabs-mode 1)
                          (add-hook 'before-save-hook #'gofmt-before-save)))

(unless (server-running-p)
  (server-start))
