 (use-package company-go :ensure t)
 (add-hook 'go-mode-hook (lambda ()
                           (helm-dash-activate-docset "Go")
-                          (set (make-local-variable 'company-backends) '(company-go))
+                          (setq-local company-backends '(company-go))
                           (company-mode)
                           (setq tab-width 2 indent-tabs-mode 1)
                           (add-hook 'before-save-hook #'gofmt-before-save)))


(defun ar/markdown-mode-hook-function ()
  "Called when entering `markdown-mode'."
  (set (make-local-variable 'markdown-indent-on-enter) nil)
  (local-set-key (kbd "RET")
                 #'electric-newline-and-maybe-indent))


  ;; ProductCopyright: 1983-2014 Apple Inc.
  ;; ProductName: iPhone OS
  ;; ProductVersion: 7.1
  (setq-local compile-command
       "xcodebuild -sdk iphonesimulator7.1 -target MyTarget")
  (local-set-key (kbd "<f7>")
                 #'ar/xc:build)
