Fix use of eval-and-compile in regexps in xml.el.
commitb3218de111201a7b19592f4176057b03749d55a0
authorChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 14:21:24 +0000 (30 22:21 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 14:21:24 +0000 (30 22:21 +0800)
tree6329b3037717fdd2411b257f45194c876c52b708
parent53dc3c68eabe6a92d6ccd232c217692b795ff88b
Fix use of eval-and-compile in regexps in xml.el.

* xml.el (xml-*-re): Convert defvars into defconsts, and
eval-and-compile them so eval-and-compile works on derivatives.
(xml--entity-replacement-text): Use eval-and-comple.
lisp/ChangeLog
lisp/xml.el