branch: elpa/gnosis
commit c7a3e289a2544b5ecd93215ac183bef23228ec13
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    display-parathema: Remove gnosis-face-parathema.
---
 gnosis.el | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnosis.el b/gnosis.el
index 80b41a2122..b9c2c2e8ef 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -105,10 +105,6 @@ When nil, review new notes last."
 
 ;;; Faces
 
-(defface gnosis-face-parathema
-  '((t :inherit font-lock-doc-face))
-  "Face for extra-notes.")
-
 (defface gnosis-face-separator
   '((default :inherit org-hide)
     (((background light)) :strike-through "gray70")
@@ -595,9 +591,8 @@ If FALSE t, use gnosis-face-false face"
   (when parathema
     (search-backward "----") ; search back for separator
     (forward-line 1)
-    (insert "\n"
-           (propertize (gnosis-center-string parathema) 'face 
'gnosis-face-parathema)
-           "\n")))
+    (insert "\n" (gnosis-center-string parathema) "\n")
+    (gnosis-apply-syntax-overlay)))
 
 (defun gnosis-display-next-review (id success)
   "Display next interval of note ID for SUCCESS."

Reply via email to