Use hl-line even in terminals.
--- a/.emacs-my Fri Apr 01 18:27:39 2016 +0300
+++ b/.emacs-my Fri Apr 01 18:30:40 2016 +0300
@@ -801,15 +801,15 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(message "highlighting current line")
+(require 'hl-line)
+
(defun my-hl-line-range-function ()
(cons (line-end-position) (line-beginning-position 2)))
(setq hl-line-range-function #'my-hl-line-range-function)
-(when window-system
- (require 'hl-line)
- (set-face-attribute 'hl-line nil :inherit nil :background "light yellow")
- (setq global-hl-line-sticky-flag t)
- (global-hl-line-mode 1))
+(set-face-attribute 'hl-line nil :inherit nil :background "light yellow")
+(setq global-hl-line-sticky-flag t)
+(global-hl-line-mode 1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(message "paren, braces")