emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/elpher aa75538a71: Removed preformatted-specific face.


From: ELPA Syncer
Subject: [nongnu] elpa/elpher aa75538a71: Removed preformatted-specific face.
Date: Mon, 2 May 2022 11:58:06 -0400 (EDT)

branch: elpa/elpher
commit aa75538a7139278c120ccc4361fff634d1b2a715
Author: plugd <plugd@thelambdalab.xyz>
Commit: plugd <plugd@thelambdalab.xyz>

    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.
---
 elpher.el | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/elpher.el b/elpher.el
index 4498c6c639..e7b37ba017 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]