 (defun ar/setup-tty ()
   "Setup tty frame."
   (unless (window-system)
-    (setup-tty-mode-line)))
+    (ar/setup-tty-mode-line)))
 
 (ar/setup-tty)
 

  "Mode line format for VC Mode.")
(put 'ac/vc-mode-line 'risky-local-variable t)

(defun setup-tty-mode-line ()
  "Set up tty modeline."
  ;; Based on http://emacs-fu.blogspot.co.uk/2011/08/customizing-mode-line.html
  (setq-default mode-line-format

(defun ar/setup-graphic-display ()
  "Setup graphic display."
  (when (window-system)
    (ar/setup-graphical-mode-line)))

(ar/setup-graphic-display)

