From: Peng Li Date: Thu, 18 May 2017 07:50:14 +0000 (+0800) Subject: emacs - highlight current line mode, only highlight selected window X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=c5a5a9f1e2a4c46a921875aec9649a619b96354d;p=dotfiles.git emacs - highlight current line mode, only highlight selected window --- diff --git a/emacs.d/config.org b/emacs.d/config.org index 64e1957..bf8028e 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -147,6 +147,9 @@ Check out [[http://tapoueh.org/emacs/el-get.html][el-get]]. (add-hook 'prog-mode-hook 'hl-line-mode) (add-hook 'text-mode-hook 'hl-line-mode) (add-hook 'dired-mode-hook 'hl-line-mode) + + ;; only highlight selected window + (setq hl-line-sticky-flag nil) #+END_SRC ** Smart Comments