From 33e7f081a7579238dbb6ad6f2d6c3adf892613ea Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 9 May 2021 20:14:21 -0400 Subject: [PATCH] Restore hl-line-sticky-flag defaults There are some modes that expect he highlight to be visible across windows (like treemacs or mu4e). The performance benefit is negligible anyhow. --- core/core-ui.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/core-ui.el b/core/core-ui.el index 5a6d594b2..cae00c4f3 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -422,11 +422,6 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original ((apply #'derived-mode-p global-hl-line-modes))) (hl-line-mode +1)))) - ;; Not having to render the hl-line overlay in multiple buffers offers a tiny - ;; performance boost. I also don't need to see it in other buffers. - (setq hl-line-sticky-flag nil - global-hl-line-sticky-flag nil) - ;; Temporarily disable `hl-line' when selection is active, since it doesn't ;; serve much purpose when the selection is so much more visible. (defvar doom--hl-line-mode nil)