From: plugd Date: Mon, 2 May 2022 15:40:45 +0000 (+0200) Subject: Removed preformatted-specific face. X-Git-Tag: v3.4.1~1 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=aa75538a7139278c120ccc4361fff634d1b2a715;p=elpher.git Removed preformatted-specific face. This was causing multiple issues, including (a) conflicts with the ANSI interpreter and (b) producing non-monospaced output even with the face set to inherit from fixed-pitch due (I think?) to Unicode font rendering wierdness. --- diff --git a/elpher.el b/elpher.el index 4498c6c..e7b37ba 100644 --- a/elpher.el +++ b/elpher.el @@ -310,10 +310,6 @@ meaningfully." '((t :inherit bold :height 1.2)) "Face used for gemini heading level 3.") -(defface elpher-gemini-preformatted - '((t :inherit fixed-pitch)) - "Face used for pre-formatted gemini text blocks.") - (defface elpher-gemini-quoted '((t :inherit font-lock-doc-face)) "Face used for gemini quoted texts.") @@ -1642,7 +1638,6 @@ If non-nil, ALT-TEXT is displayed alongside the button." PREF-ID is the value assigned to the \"invisible\" text attribute, which can be used to toggle the display of the preformatted text." (insert (propertize (concat (elpher-process-text-for-display line) "\n") - 'face 'elpher-gemini-preformatted 'invisible pref-id 'rear-nonsticky t)))