aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorPaul Eggert2016-05-13 13:30:33 -0700
committerEli Zaretskii2016-09-23 16:55:52 +0300
commit9135bd7af7bdf9f805b185a77fe4e6d33dec4009 (patch)
tree3dbebfada02bbb3369d4838a82bc261e4a694bfd /lisp/textmodes
parente0dd65cd444fd9e5ee6b5921936c6c829df75e50 (diff)
downloademacs-9135bd7af7bdf9f805b185a77fe4e6d33dec4009.tar.gz
emacs-9135bd7af7bdf9f805b185a77fe4e6d33dec4009.zip
Improve display of tex-verbatim and Info quoted
Problem reported by Glenn Morris (Bug#19889). * doc/emacs/display.texi (Standard Faces): * doc/lispref/display.texi (Basic Faces): * etc/NEWS: Mention fixed-pitch-serif. * lisp/faces.el (face-font-family-alternatives): New family alias Monospace Serif. (fixed-pitch-serif): New face, which uses the new family. * lisp/info.el (Info-quoted): * lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face. * test/lisp/legacy/font-parse-tests.el (font-parse-tests--data): Add test case for Monospace Serif. This is backport from master (cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 3ac68bdf790..8545a09fa59 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -801,8 +801,7 @@ Not smaller than the value set by `tex-suscript-height-minimum'."
801(defvar tex-math-face 'tex-math) 801(defvar tex-math-face 'tex-math)
802 802
803(defface tex-verbatim 803(defface tex-verbatim
804 ;; '((t :inherit font-lock-string-face)) 804 '((t :inherit fixed-pitch-serif))
805 '((t :family "courier"))
806 "Face used to highlight TeX verbatim environments." 805 "Face used to highlight TeX verbatim environments."
807 :group 'tex) 806 :group 'tex)
808(define-obsolete-face-alias 'tex-verbatim-face 'tex-verbatim "22.1") 807(define-obsolete-face-alias 'tex-verbatim-face 'tex-verbatim "22.1")