From 212168c84cf896fd2918ae7ec484ea77ac5e0dd6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 10 Feb 2012 16:25:31 +0000 Subject: [PATCH] cleaned up appearance.el a little --- appearance.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appearance.el b/appearance.el index 4f65061..c76d3aa 100644 --- a/appearance.el +++ b/appearance.el @@ -27,9 +27,10 @@ ;; Highlight current line globally (global-hl-line-mode t) -;; Customize line numbers when Emacs runs in console -(if window-system () - (setq linum+-smart-format "%%%dd " linum+-dynamic-format "%%%dd ")) +;; Customize line numbers when running in a console +(unless window-system + (setq linum+-smart-format "%%%dd ") + (setq linum+-dynamic-format "%%%dd ")) ;; meaningful names for buffers with the same name (require 'uniquify)