Skip to content
Browse files

hl-line-mode is useless in 8-color terms.

Well, it's more like 8-color terms are useless. But whatever.
  • Loading branch information...
1 parent c99f278 commit 733c6783dba281df1477b3f6a49ed683a622f9e7 @technomancy technomancy committed Nov 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 starter-kit-defuns.el
2 starter-kit-defuns.el
@@ -78,7 +78,7 @@ Symbols matching the text at point are put first in the completion list."
(auto-fill-mode t))
(defun turn-on-hl-line-mode ()
- (if window-system (hl-line-mode t)))
+ (when (> (display-color-cells) 8) (hl-line-mode t)))
(defun turn-on-save-place-mode ()
(setq save-place t))

0 comments on commit 733c678

Please sign in to comment.
Something went wrong with that request. Please try again.