emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/international/mule.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/international/mule.el
Date: Sat, 07 May 2005 11:53:56 -0400

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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]