From 134b9cfc84597a439b5186e97435e5acc31d655f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 2 Dec 2020 11:09:49 -0800 Subject: emacs: smaller font on macos --- emacs.d/custom/fcuny-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el index d99a548..6f1e913 100644 --- a/emacs.d/custom/fcuny-ui.el +++ b/emacs.d/custom/fcuny-ui.el @@ -24,7 +24,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)) -- cgit 1.4.1 From 8b7704ca47b6e047f80c9461fd7e7e6c51001691 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 2 Dec 2020 11:10:24 -0800 Subject: emacs: fix for hl-line --- emacs.d/custom/fcuny-ui.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el index 6f1e913..a59d29b 100644 --- a/emacs.d/custom/fcuny-ui.el +++ b/emacs.d/custom/fcuny-ui.el @@ -34,9 +34,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 -- cgit 1.4.1