comparison lisp/textmodes/tex-mode.el @ 65969:cd4113a86403

(tex-font-lock-keywords-2): Adjust match number.
author Andreas Schwab <schwab@suse.de>
date Mon, 10 Oct 2005 09:47:08 +0000
parents 8d9f98ffeae4
children 94b9e76a6995 5e2d3828e89f
comparison
equal deleted inserted replaced
65968:d6def48a38f3 65969:cd4113a86403
575 (list (concat "\\\\\\(em\\|it\\|sl\\)\\>" args) 575 (list (concat "\\\\\\(em\\|it\\|sl\\)\\>" args)
576 2 '(tex-font-lock-append-prop 'italic) 'append) 576 2 '(tex-font-lock-append-prop 'italic) 'append)
577 ;; This is separate from the previous one because of cases like 577 ;; This is separate from the previous one because of cases like
578 ;; {\em foo {\bf bar} bla} where both match. 578 ;; {\em foo {\bf bar} bla} where both match.
579 (list (concat "\\\\\\(bf\\(series\\)?\\)\\>" args) 579 (list (concat "\\\\\\(bf\\(series\\)?\\)\\>" args)
580 2 '(tex-font-lock-append-prop 'bold) 'append))))) 580 3 '(tex-font-lock-append-prop 'bold) 'append)))))
581 "Gaudy expressions to highlight in TeX modes.") 581 "Gaudy expressions to highlight in TeX modes.")
582 582
583 (defun tex-font-lock-suscript (pos) 583 (defun tex-font-lock-suscript (pos)
584 (unless (or (memq (get-text-property pos 'face) 584 (unless (or (memq (get-text-property pos 'face)
585 '(font-lock-constant-face font-lock-builtin-face 585 '(font-lock-constant-face font-lock-builtin-face