summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-11-07 10:03:15 +0200
committerThanos Apollo <[email protected]>2024-11-07 10:12:24 +0200
commit6fad435b9a3f85185a0265e58caae93ea086a11f (patch)
tree9287057c002acf5f09f187649fd6d2ae42725cfd /gnosis.el
parenta8bd341f3d2cf3670f9bc6f448348375661e970d (diff)
gnosis-face-cloze: Use highlight instead of ffap.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el5
1 files changed, 3 insertions, 2 deletions
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))