Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df3c9fe7
Commit
df3c9fe7
authored
Sep 21, 2007
by
Glenn Morris
Browse files
Kevin Ryde <user42 at zip.com.au>
(sgml-html-meta-auto-coding-function): Bind `case-fold-search' to t.
parent
09b33024
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
+25
-19
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/international/mule.el
lisp/international/mule.el
+20
-19
No files found.
lisp/ChangeLog
View file @
df3c9fe7
2007-09-21 Kevin Ryde <user42@zip.com.au>
* international/mule.el (sgml-html-meta-auto-coding-function):
Bind `case-fold-search' to t.
2007-09-21 Glenn Morris <rgm@gnu.org>
* textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
...
...
lisp/international/mule.el
View file @
df3c9fe7
...
...
@@ -2310,6 +2310,7 @@ This function is intended to be added to `auto-coding-functions'."
(defun sgml-html-meta-auto-coding-function (size)
"If the buffer has an HTML meta tag, use it to determine encoding.
This function is intended to be added to `auto-coding-functions'."
(let ((case-fold-search t))
(setq size (min (+ (point) size)
(save-excursion
;; Limit the search by the end of the HTML header.
...
...
@@ -2328,7 +2329,7 @@ This function is intended to be added to `auto-coding-functions'."
(
if
(
coding-system-p
sym
)
sym
(
message
"Warning: unknown coding system \"%s\""
match
)
nil
))
))
nil
))
))
)
;;;
(
provide
'mule
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment