diff options
author | Thanos Apollo <[email protected]> | 2024-11-07 10:03:15 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-11-07 10:12:24 +0200 |
commit | 6fad435b9a3f85185a0265e58caae93ea086a11f (patch) | |
tree | 9287057c002acf5f09f187649fd6d2ae42725cfd | |
parent | a8bd341f3d2cf3670f9bc6f448348375661e970d (diff) |
gnosis-face-cloze: Use highlight instead of ffap.
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)) |