From 57c77157d970493b6f5a36e4a87d0dae4d3ba7b2 Mon Sep 17 00:00:00 2001 From: Ad Date: Tue, 20 Aug 2024 21:19:49 -0400 Subject: [PATCH] fix: copy markdown-blockquote-face definition to org-quote `markdown-mode` may not be loaded by the time Org is used, which results in the `org-quote` face being unstyled (and possibly causing errors). --- catppuccin-theme.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/catppuccin-theme.el b/catppuccin-theme.el index 9eccdda..ad7c9a8 100644 --- a/catppuccin-theme.el +++ b/catppuccin-theme.el @@ -1084,7 +1084,9 @@ FLAVOR defaults to the value of `catppuccin-flavor'." (org-meta-line :inherit font-lock-comment-face) (org-mode-line-clock-overrun :inherit mode-line :foreground ,ctp-red) (org-priority :foreground ,ctp-yellow) - (org-quote :inherit markdown-blockquote-face) + (org-quote :extend t :background ,ctp-mantle + :foreground ,ctp-green + ,@(when catppuccin-italic-blockquotes '(:slant italic))) (org-scheduled :foreground ,ctp-green) (org-scheduled-previously :foreground ,ctp-teal) (org-scheduled-today :foreground ,ctp-green :weight bold)