From d660853fc37528e7812dd64dcae26e32331c8ce7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 7 Apr 2025 06:16:30 -0400 Subject: [PATCH] tweak(org): org-modern: oversized checkbox symbol --- modules/lang/org/contrib/pretty.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/lang/org/contrib/pretty.el b/modules/lang/org/contrib/pretty.el index 04aa79c18..af16a2361 100644 --- a/modules/lang/org/contrib/pretty.el +++ b/modules/lang/org/contrib/pretty.el @@ -16,6 +16,11 @@ (setq org-hide-emphasis-markers t org-pretty-entities t)) :config + ;; HACK: The default unicode symbol for checked boxes often turn out much + ;; larger than the others, so I swap it out with one that's more likely to + ;; be consistent. + (setf (alist-get ?X org-modern-checkbox) #("□x" 0 2 (composition ((2))))) + ;; HACK: If `org-indent-mode' is active, org-modern's default of hiding ;; leading stars makes sub-headings look too sunken into the left margin. ;; Those stars are already "hidden" by `org-hide-leading-stars' anyway, so