summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-14 04:40:56 +0300
committerThanos Apollo <[email protected]>2024-07-14 04:40:56 +0300
commit10a805de08b00e1767e327644e5fd468b00c8ae2 (patch)
treeed7844dd593efee53e9b7ef4e5a15539056cab04
parent9f678e624d7e89478d0090826f813d05bb811e27 (diff)
cloze: Update default cloze string and face.
- Use a more familiar cloze string to other srs. - Use ffap & italic as face, cursor can be problematic when using hints.
-rw-r--r--gnosis.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index 95364a9..a8d7743 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -38,6 +38,7 @@
;;; Code:
(require 'cl-lib)
+(require 'subr-x)
(require 'vc)
(require 'emacsql-sqlite)
@@ -57,7 +58,7 @@
:type 'directory
:group 'gnosis)
-(defcustom gnosis-cloze-string "__"
+(defcustom gnosis-cloze-string "[...]"
"Gnosis string to represent a cloze."
:type 'string
:group 'gnosis)
@@ -230,7 +231,7 @@ Seperate the question/stem from options."
:group 'gnosis-face)
(defface gnosis-face-cloze
- '((t :inherit cursor))
+ '((t :inherit (ffap italic)))
"Face for clozes."
:group 'gnosis-face)