emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/nxml/rng-valid.el,v


From: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/lisp/nxml/rng-valid.el,v
Date: Thu, 20 Dec 2007 15:18:18 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Jason Rumney <jasonr>   07/12/20 15:18:18

Index: rng-valid.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/nxml/rng-valid.el,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- rng-valid.el        28 Nov 2007 04:13:52 -0000      1.3
+++ rng-valid.el        20 Dec 2007 15:18:18 -0000      1.4
@@ -107,7 +107,7 @@
   :group 'nxml
   :group 'languages)
 
-(defface rng-error-face '((t (:underline "red")))
+(defface rng-error '((t (:inherit font-lock-warning-face)))
   "Face for highlighting XML errors."
   :group 'relax-ng)
 
@@ -224,7 +224,7 @@
 conforming to the XML Namespaces Recommendation and valid against a
 RELAX NG schema. The mode-line indicates whether it is or not.  Any
 parts of the buffer that cause it not to be are considered errors and
-are highlighted with `rng-error-face'. A description of each error is
+are highlighted with face `rng-error'. A description of each error is
 available as a tooltip.  \\[rng-next-error] goes to the next error
 after point. Clicking mouse-1 on the word `Invalid' in the mode-line
 goes to the first error in the buffer. If the buffer changes, then it
@@ -768,7 +768,7 @@
          (overlay-put overlay 'category 'rng-error)
          (overlay-put overlay 'help-echo message))))))
 
-(put 'rng-error 'face 'rng-error-face)
+(put 'rng-error 'face 'rng-error)
 (put 'rng-error 'modification-hooks '(rng-error-modified))
 
 ;; If we don't do this, then the front delimiter can move




reply via email to

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