Index: emacs/lisp/international/mule.el
diff -c emacs/lisp/international/mule.el:1.220 
emacs/lisp/international/mule.el:1.221
*** emacs/lisp/international/mule.el:1.220      Sun May  1 22:17:25 2005
--- emacs/lisp/international/mule.el    Sat May  7 15:53:56 2005
***************
*** 2180,2188 ****
    (when (re-search-forward "\\`[[:space:]\n]*<\\?xml" size t)
      (let ((end (save-excursion
                 ;; This is a hack.
!                (re-search-forward "\"\\s-*\\?>" size t))))
        (when end
!       (if (re-search-forward "encoding=\"\\(.+?\\)\"" end t)
            (let* ((match (match-string 1))
                   (sym (intern (downcase match))))
              (if (coding-system-p sym)
--- 2180,2188 ----
    (when (re-search-forward "\\`[[:space:]\n]*<\\?xml" size t)
      (let ((end (save-excursion
                 ;; This is a hack.
!                (re-search-forward "[\"']\\s-*\\?>" size t))))
        (when end
!       (if (re-search-forward "encoding=[\"']\\(.+?\\)[\"']" end t)
            (let* ((match (match-string 1))
                   (sym (intern (downcase match))))
              (if (coding-system-p sym)


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to