Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 733c6783dba281df1477b3f6a49ed683a622f9e7 1 parent c99f278
@technomancy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  starter-kit-defuns.el
View
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))
Please sign in to comment.
Something went wrong with that request. Please try again.