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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
4c1958f4
Commit
4c1958f4
authored
Feb 16, 2009
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fcheck_coding_systems_region): Fix test for unibyte
string.
parent
a057d86a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/coding.c
src/coding.c
+2
-2
No files found.
src/ChangeLog
View file @
4c1958f4
2009-02-16 Andreas Schwab <schwab@suse.de>
* coding.c (Fcheck_coding_systems_region): Fix test for unibyte
string.
2009-02-16 Kenichi Handa <handa@m17n.org>
* coding.c (Fcheck_coding_systems_region): Fix typo; Qt -> Qnil.
...
...
src/coding.c
View file @
4c1958f4
...
...
@@ -8463,7 +8463,7 @@ START may be a string. In that case, check if the string is
encodable, and the value contains indices to the string instead of
buffer positions. END is ignored.
If the current buffer (or START if it is string) is unibyte, the value
If the current buffer (or START if it is
a
string) is unibyte, the value
is nil. */)
(start, end, coding_system_list)
Lisp_Object start, end, coding_system_list;
...
...
@@ -8478,7 +8478,7 @@ is nil. */)
if (STRINGP (start))
{
if (!STRING_MULTIBYTE (start)
&& SCHARS (start) !
= SBYTES (start))
|| SCHARS (start) =
= SBYTES (start))
return Qnil;
start_byte = 0;
end_byte = SBYTES (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