summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2020-12-07 12:02:44 -0800
committerFranck Cuny <franck@fcuny.net>2020-12-07 12:02:44 -0800
commit96ce6754c8f460d27a06ce12c6e2cac93bfaae73 (patch)
tree287aaf0fa391b64dba34eecc701c57a840808b06
parentemacs: update configuration for LSP (diff)
parentemacs: fix for hl-line (diff)
downloademacs.d-96ce6754c8f460d27a06ce12c6e2cac93bfaae73.tar.gz
Merge branch 'master' of ssh://git.fcuny.net:222/fcuny/dotfiles
-rw-r--r--emacs.d/custom/fcuny-ui.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el
index ba3a254..7559450 100644
--- a/emacs.d/custom/fcuny-ui.el
+++ b/emacs.d/custom/fcuny-ui.el
@@ -27,7 +27,7 @@
   (blink-cursor-mode -1)
   (setq frame-title-format "%b")
   (when (memq window-system '(mac ns))
-    (set-frame-font "Source Code Pro-15")
+    (set-frame-font "Source Code Pro-14")
     (add-to-list 'default-frame-alist '(fullscreen . maximized))
     (add-to-list 'default-frame-alist '(ns-appearance . nil))
     (add-to-list 'default-frame-alist '(ns-transparent-titlebar . nil))
@@ -37,9 +37,12 @@
     (set-frame-font "Source Code Pro-11")))
 
 (use-package hl-line
-  :hook ((prog-mode puppet-mode dired-mode org-mode markdown-mode conf-mode yaml-mode) . hl-line-mode)
+  :hook ((prog-mode text-mode conf-mode special-mode) . hl-line-mode)
   :custom
-  (hl-line-sticky-flag nil))
+  ;; 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.
+  (hl-line-sticky-flag nil)
+  (global-hl-line-sticky-flag nil))
 
 (use-package uniquify
   :defer 5