瀏覽代碼

WIP experimental fix of hl-line

pull/15/head
10sr 8 年之前
父節點
當前提交
fc2c314f83
共有 1 個文件被更改,包括 11 次插入3 次删除
  1. +11
    -3
      emacs.el

+ 11
- 3
emacs.el 查看文件

@@ -739,9 +739,17 @@ IF OK-IF-ALREADY-EXISTS is true force download."
"*Face used by hl-line."
:group '10sr)
(global-hl-line-mode 1) ;; (hl-line-mode 1)
(set-face-underline 'hl-line t)
(set-face-background 'hl-line "unspecified-bg")
(set-face-foreground 'hl-line "unspecified-fg")
(if (< (display-color-cells)
256)
;; 8 colors
(progn
(set-face-underline 'hl-line t)
(set-face-background 'hl-line "unspecified-bg")
(set-face-foreground 'hl-line "unspecified-fg"))
;; 256 colors
(set-face-background 'hl-line "color-235")
;;(set-face-foreground 'hl-line "unspecified-fg")
)
;; (set-variable 'hl-line-face '10sr-hl-line) ;; (setq hl-line-face nil)
(set-variable 'hl-line-global-modes
'(not


Loading…
取消
儲存