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
48468dac
Commit
48468dac
authored
Jul 25, 2002
by
Kenichi Handa
Browse files
(Ffind_coding_systems_region_internal): Detect an
ASCII only string correctly.
parent
ab2a47e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/coding.c
src/coding.c
+2
-2
No files found.
src/ChangeLog
View file @
48468dac
2002-07-25 Kenichi Handa <handa@etl.go.jp>
* coding.c (Ffind_coding_systems_region_internal): Detect an
ASCII only string correctly.
* lread.c (Fload): Don't load with Qload_force_doc_strings t if
version is 0.
...
...
src/coding.c
View file @
48468dac
...
...
@@ -6438,7 +6438,7 @@ char_encodable_p (c, attrs)
/* Return a list of coding systems that safely encode the text between
START and END. If EXCLUDE is non-nil, it is a list of coding
systems not to check. The returned list doesn't contain any such
coding systems. In any case,
I
f the text contains only ASCII or is
coding systems. In any case,
i
f the text contains only ASCII or is
unibyte, return t. */
DEFUN ("find-coding-systems-region-internal",
...
...
@@ -6457,7 +6457,7 @@ DEFUN ("find-coding-systems-region-internal",
if (STRINGP (start))
{
if (!STRING_MULTIBYTE (start)
&&
XSTRING (start)->size
!
= STRING_BYTES (XSTRING (start)))
||
XSTRING (start)->size
=
= STRING_BYTES (XSTRING (start)))
return Qt;
start_byte = 0;
end_byte = STRING_BYTES (XSTRING (start));
...
...
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