 (ignore-errors
   (use-package org-beautify-theme :ensure t
     :config
-    (when (window-system)
+    (when (display-graphic-p)
       ;; From https://github.com/howardabrams/dot-files/blob/HEAD/emacs-client.org
       (deftheme ar/org-theme "Sub-theme to beautify org mode")
       (let* ((sans-font (cond ((x-list-fonts "Source Sans Pro") '(:font "Source Sans Pro"))

(use-package ar-bazel
  :after s)
(use-package ar-alist)
(use-package ar-git)
(use-package ar-helm

  :after helm)
(use-package ar-helm-objc
  :after helm
  :commands (ar/helm-objc-import-update))
(use-package ar-helm-projectile
  :bind ("<f7>" . ar/helm-projectile-shell-cd))
(use-package ar-helm-org
  :after (helm helm-org org))
(use-package ar-helm-shell
  :bind (:map shell-mode-map
              ("M-r" . ar/helm-shell-search-history)))

  :commands (vr/mc-mark vr/query-replace vr/replace))

(use-package yasnippet :ensure t
  :defer 10
  :config
  (use-package ar-yas)

  (use-package yasnippet-snippets :ensure t)

  (validate-setq yas-indent-line 'fixed)
  (validate-setq yas-snippet-dirs
                 '("~/.emacs.d/yasnippets/personal"
