# HG changeset patch # User Romain Francoise # Date 1168019882 0 # Node ID 1a2349dd4e0bc49e9be4bed1a9b7d90a9f76b250 # Parent a6b4f9a69719715f1735d674764f23f054b363de (sgml-html-meta-auto-coding-function): Ensure that the buffer contains a HTML document. diff -r a6b4f9a69719 -r 1a2349dd4e0b lisp/ChangeLog --- a/lisp/ChangeLog Fri Jan 05 17:49:43 2007 +0000 +++ b/lisp/ChangeLog Fri Jan 05 17:58:02 2007 +0000 @@ -1,6 +1,11 @@ +2007-01-05 Romain Francoise + + * international/mule.el (sgml-html-meta-auto-coding-function): + Ensure that the buffer contains a HTML document. + 2007-01-05 Dan Nicolaescu - * faces.el (momentary): Move here ... + * faces.el (momentary): Move here ... * subr.el (momentary): ... from here. 2007-01-05 Nick Roberts @@ -11,9 +16,9 @@ 2007-01-04 Juanma Barranquero - * files.el (find-file-noselect-1, set-visited-file-name): + * files.el (find-file-noselect-1, set-visited-file-name): Allow backup-enable-predicate to be nil. - + 2007-01-04 Kevin Rodgers * subr.el (momentary): New face. diff -r a6b4f9a69719 -r 1a2349dd4e0b lisp/international/mule.el --- a/lisp/international/mule.el Fri Jan 05 17:49:43 2007 +0000 +++ b/lisp/international/mule.el Fri Jan 05 17:58:02 2007 +0000 @@ -2292,7 +2292,12 @@ ;; In case of no header, search only 10 lines. (forward-line 10)) (point)))) - (when (re-search-forward " start tag + ;; (allowing for whitespace at bob). Note: 'DOCTYPE NETSCAPE' is + ;; useful for Mozilla bookmark files. + (when (and (re-search-forward "\\`[[:space:]\n]*\\(