aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2003-05-19 17:45:27 +0000
committerJohn Paul Wallington2003-05-19 17:45:27 +0000
commitab16145759593e5e0eff935a8eb10abbaf57f5a8 (patch)
tree2492727911ee6bc540169bb9cf9cc3f816979544
parente54165ff61f4f6fb652842acdbc7253cfc11377e (diff)
downloademacs-ab16145759593e5e0eff935a8eb10abbaf57f5a8.tar.gz
emacs-ab16145759593e5e0eff935a8eb10abbaf57f5a8.zip
(xml-name-regexp): Wrap in `eval-and-compile'.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/xml.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9fadee1220c..277d4952b8a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12003-05-19 John Paul Wallington <jpw@gnu.org>
2
3 * xml.el (xml-name-regexp): Wrap in `eval-and-compile'.
4
12003-05-19 Dave Love <fx@gnu.org> 52003-05-19 Dave Love <fx@gnu.org>
2 6
3 * xml.el: Doc fixes. 7 * xml.el: Doc fixes.
diff --git a/lisp/xml.el b/lisp/xml.el
index ca593590126..01d1afa3b05 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -176,7 +176,8 @@ If PARSE-DTD is non-nil, the DTD is parsed rather than skipped."
176 176
177;; XML [5] 177;; XML [5]
178;; Note that [:alpha:] matches all multibyte chars with word syntax. 178;; Note that [:alpha:] matches all multibyte chars with word syntax.
179(defconst xml-name-regexp "[[:alpha:]_:][[:alnum:]._:-]*") 179(eval-and-compile
180 (defconst xml-name-regexp "[[:alpha:]_:][[:alnum:]._:-]*"))
180 181
181;; Fixme: This needs re-writing to deal with the XML grammar properly, i.e. 182;; Fixme: This needs re-writing to deal with the XML grammar properly, i.e.
182;; document ::= prolog element Misc* 183;; document ::= prolog element Misc*