branch: elpa/gnosis commit 99e8cb8acae8c9dfa7f6ffbd38e0c9167f314b53 Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
display-keimenon: apply syntax overlay before centering buffer. --- gnosis.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnosis.el b/gnosis.el index e2468c2032..bdc3e9dbd2 100644 --- a/gnosis.el +++ b/gnosis.el @@ -419,8 +419,8 @@ This will not be applied to sentences that start with double space." (erase-buffer) (insert "\n" (gnosis-center-string (replace-regexp-in-string "\n" " " str))) (gnosis-insert-separator) - (gnosis-apply-center-buffer-overlay) - (gnosis-apply-syntax-overlay)) + (gnosis-apply-syntax-overlay) + (gnosis-apply-center-buffer-overlay)) (defun gnosis-display-mcq-options (id) "Display answer options for mcq note ID."