From 6fad435b9a3f85185a0265e58caae93ea086a11f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 7 Nov 2024 10:03:15 +0200 Subject: gnosis-face-cloze: Use highlight instead of ffap. --- gnosis.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index acc4bef..06ad6e2 100644 --- a/gnosis.el +++ b/gnosis.el @@ -252,7 +252,7 @@ When nil, review new notes last." :group 'gnosis-face) (defface gnosis-face-cloze - '((t :inherit (ffap italic))) + '((t :inherit (highlight italic))) "Face for clozes." :group 'gnosis-face) @@ -588,7 +588,8 @@ First item of answers will be marked as false, while the rest unanswered." Applies highlighting for CORRECT & FALSE." (let* ((cloze-str (gnosis-cloze-create str clozes)) (str-with-hints (gnosis-cloze-add-hints cloze-str hints)) - (str-with-c-answers (gnosis-cloze-mark-answers str-with-hints correct 'gnosis-face-correct)) + (str-with-c-answers + (gnosis-cloze-mark-answers str-with-hints correct 'gnosis-face-correct)) (final (gnosis-cloze-mark-false str-with-c-answers false))) (erase-buffer) (insert "\n" (gnosis-center-string final)) -- cgit v1.2.3