re-search-forward with NOERROR t..
+2002-08-19 Kenichi Handa <handa@etl.go.jp>
+
+ * international/mule.el (sgml-xml-auto-coding-function): Call
+ re-search-forward with NOERROR t.
+
2002-08-19 Miles Bader <miles@gnu.org>
[original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
(defun sgml-xml-auto-coding-function (size)
"Determine whether the buffer is XML, and if so, its encoding.
This function is intended to be added to `auto-coding-functions'."
- (when (re-search-forward "\\`[[:space:]\n]*<\\?xml")
+ (when (re-search-forward "\\`[[:space:]\n]*<\\?xml" nil t)
(let ((end (save-excursion
;; This is a hack.
(re-search-forward "\"\\s-*\\?>" size t))))