branch: elpa/gnosis commit 168131a1d959094e2c4f2e06da07db9e0b87ea0f Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
faces: Remove keimenon-face + Users that would change the :height of keimenon would mess with centering funcs. + Make it easier to apply syntax overlays for current implementation. --- gnosis.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gnosis.el b/gnosis.el index 090ec92c0d..9c781d367d 100644 --- a/gnosis.el +++ b/gnosis.el @@ -218,11 +218,6 @@ When nil, review new notes last." "Face for extra-notes." :group 'gnosis-faces) -(defface gnosis-face-keimenon - '((t :inherit default)) - "Face for the main section from note." - :group 'gnosis-face-faces) - (defface gnosis-face-separator '((default :inherit org-hide) (((background light)) :strike-through "gray70") @@ -493,9 +488,8 @@ This will not be applied to sentences that start with double space." If FILL-PARAGRAPH-P, insert question using `fill-paragraph'." (let ((fill-paragraph-p (or fill-paragraph-p t))) (erase-buffer) - (if fill-paragraph-p - (fill-paragraph (insert "\n" (propertize str 'face 'gnosis-face-keimenon))) - (insert "\n" (propertize str 'face 'gnosis-face-keimenon))) + (if fill-paragraph-p (fill-paragraph (insert "\n" str)) + (insert "\n" str)) (gnosis-insert-separator) (gnosis-apply-center-buffer-overlay) (gnosis-apply-syntax-overlay)))