diff --git a/appearance.el b/appearance.el index c1de224..081c535 100644 --- a/appearance.el +++ b/appearance.el @@ -38,8 +38,10 @@ ;; Don't use OSX Native fullscreen mode (setq ns-use-native-fullscreen nil) -;; Customize line numbers -(setq linum+-dynamic-format " %%%dd ") +;; Customize line numbers - In gui mode the fringe is the spacer between line +;; numbers and code, while in console mode we add an extra space for it. +(if gui-window-system (setq linum+-dynamic-format " %%%dd") + (setq linum+-dynamic-format " %%%dd ")) ;; Linum+ resets linum-format to "smart" when it's loaded, hence we have to ;; use a eval-after-load hook to set it to "dynamic". diff --git a/custom-variables.el b/custom-variables.el index cc93c8b..5192c04 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -51,7 +51,6 @@ '(fci-rule-width 1) '(fill-column 78) '(flycheck-rubocop-lint-only t) - '(fringe-mode 0 nil (fringe)) '(global-auto-revert-mode t) '(global-undo-tree-mode t) '(helm-ag-source-type (quote file-line))