aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2007-12-20 15:18:18 +0000
committerJason Rumney2007-12-20 15:18:18 +0000
commitd65d0260cf9f37c1054b8855ede6e3cd7e701923 (patch)
treeffe233f8fdd08553a17f7a58fad661cb951861d5
parent331e4d02f9e81ef33982294503c8229d3150b9a0 (diff)
downloademacs-d65d0260cf9f37c1054b8855ede6e3cd7e701923.tar.gz
emacs-d65d0260cf9f37c1054b8855ede6e3cd7e701923.zip
(rng-error): Rename from rng-error-face.
-rw-r--r--lisp/nxml/rng-valid.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/nxml/rng-valid.el b/lisp/nxml/rng-valid.el
index 183fb2561c1..9b6500e002a 100644
--- a/lisp/nxml/rng-valid.el
+++ b/lisp/nxml/rng-valid.el
@@ -107,7 +107,7 @@
107 :group 'nxml 107 :group 'nxml
108 :group 'languages) 108 :group 'languages)
109 109
110(defface rng-error-face '((t (:underline "red"))) 110(defface rng-error '((t (:inherit font-lock-warning-face)))
111 "Face for highlighting XML errors." 111 "Face for highlighting XML errors."
112 :group 'relax-ng) 112 :group 'relax-ng)
113 113
@@ -224,7 +224,7 @@ Checks whether the buffer is a well-formed XML 1.0 document,
224conforming to the XML Namespaces Recommendation and valid against a 224conforming to the XML Namespaces Recommendation and valid against a
225RELAX NG schema. The mode-line indicates whether it is or not. Any 225RELAX NG schema. The mode-line indicates whether it is or not. Any
226parts of the buffer that cause it not to be are considered errors and 226parts of the buffer that cause it not to be are considered errors and
227are highlighted with `rng-error-face'. A description of each error is 227are highlighted with face `rng-error'. A description of each error is
228available as a tooltip. \\[rng-next-error] goes to the next error 228available as a tooltip. \\[rng-next-error] goes to the next error
229after point. Clicking mouse-1 on the word `Invalid' in the mode-line 229after point. Clicking mouse-1 on the word `Invalid' in the mode-line
230goes to the first error in the buffer. If the buffer changes, then it 230goes to the first error in the buffer. If the buffer changes, then it
@@ -768,7 +768,7 @@ Return t if there is work to do, nil otherwise."
768 (overlay-put overlay 'category 'rng-error) 768 (overlay-put overlay 'category 'rng-error)
769 (overlay-put overlay 'help-echo message)))))) 769 (overlay-put overlay 'help-echo message))))))
770 770
771(put 'rng-error 'face 'rng-error-face) 771(put 'rng-error 'face 'rng-error)
772(put 'rng-error 'modification-hooks '(rng-error-modified)) 772(put 'rng-error 'modification-hooks '(rng-error-modified))
773 773
774;; If we don't do this, then the front delimiter can move 774;; If we don't do this, then the front delimiter can move