mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
(sgml-html-meta-auto-coding-function):
Remove > after <html to allow HTML attributes.
This commit is contained in:
parent
6d1289c338
commit
81668eb260
1 changed files with 1 additions and 1 deletions
|
|
@ -2126,7 +2126,7 @@ This function is intended to be added to `auto-coding-functions'."
|
|||
(save-excursion
|
||||
(forward-line 10)
|
||||
(point))))
|
||||
(when (and (search-forward "<html>" size t)
|
||||
(when (and (search-forward "<html" size t)
|
||||
(re-search-forward "<meta\\s-+http-equiv=\"content-type\"\\s-+content=\"text/\\sw+;\\s-*charset=\\(.+?\\)\"" size t))
|
||||
(let* ((match (match-string 1))
|
||||
(sym (intern (downcase match))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue