]> git.eshelyaron.com Git - emacs.git/commitdiff
xml.el: Fix last change.
authorChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 13:57:55 +0000 (21:57 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 30 Jun 2012 13:57:55 +0000 (21:57 +0800)
lisp/xml.el

index f135bdfabe42c0615b71ff0d9c4297deef6337ff..9bad7d95cced6c5d1e40133abd54e5612f038ddf 100644 (file)
@@ -722,9 +722,8 @@ This follows the rule [28] in the XML specifications."
   "Return the replacement text for the entity value STRING.
 The replacement text is obtained by replacing character
 references and parameter-entity references."
-  (let ((ref-re (eval-when-compile
-                 (concat "\\(?:&#\\([0-9]+\\)\\|&#x\\([0-9a-fA-F]+\\)\\|%\\("
-                         xml-name-re "\\)\\);")))
+  (let ((ref-re (concat "\\(?:&#\\([0-9]+\\)\\|&#x\\([0-9a-fA-F]+\\)\\|%\\("
+                       xml-name-re "\\)\\);"))
        children)
     (while (string-match ref-re string)
       (push (substring string 0 (match-beginning 0)) children)