diff --git a/appearance.el b/appearance.el index 4c950d1..a1c315e 100644 --- a/appearance.el +++ b/appearance.el @@ -26,10 +26,9 @@ ;; Highlight current line globally (global-hl-line-mode t) -;; Customize line numbers when running in a console -(unless window-system - (setq linum+-smart-format "%%%dd ") - (setq linum+-dynamic-format "%%%dd ")) +;; Customize line numbers +(setq linum+-smart-format " %%%dd ") +(setq linum+-dynamic-format " %%%dd ") ;; meaningful names for buffers with the same name (require 'uniquify) diff --git a/custom-variables.el b/custom-variables.el index c939639..9a13c52 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -37,7 +37,7 @@ '(fci-handle-truncate-lines nil) '(fci-rule-width 1) '(fill-column 78) - '(fringe-mode (quote (4 . 4)) nil (fringe)) + '(fringe-mode 0 nil (fringe)) '(global-auto-revert-mode t) '(global-undo-tree-mode t) '(history-length 500) diff --git a/packages.el b/packages.el index fba3c1e..5b5f3ee 100644 --- a/packages.el +++ b/packages.el @@ -168,8 +168,8 @@ (require 'undo-tree) ;; Load Linum+ - (unless window-system - (require 'linum+)) + (when (require 'linum+ nil 'noerror) + (setq linum-format 'dynamic)) ;; Load full-ack (require 'full-ack)