mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(sgml-html-meta-auto-coding-function):
Remove > after <html to allow HTML attributes.
This commit is contained in:
parent
6d1289c338
commit
81668eb260
@ -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…
Reference in New Issue
Block a user