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
e1c23804
Commit
e1c23804
authored
Feb 13, 2003
by
Dave Love
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fcheck_coding_systems_region): Fix type errors.
parent
d69d2591
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
src/coding.c
src/coding.c
+13
-13
No files found.
src/coding.c
View file @
e1c23804
...
...
@@ -5440,7 +5440,7 @@ produce_chars (coding)
produced_chars++;
}
else
/* This is an annotation dat
a
. */
/* This is an annotation dat
um
. */
buf -= c + 1;
}
}
...
...
@@ -5816,7 +5816,7 @@ decode_coding (coding)
}
/* Extract an annotation dat
a
from a composition starting at POS and
/* Extract an annotation dat
um
from a composition starting at POS and
ending before LIMIT of CODING->src_object (buffer or string), store
the data in BUF, set *STOP to a starting position of the next
composition (if any) or to LIMIT, and return the address of the
...
...
@@ -5902,7 +5902,7 @@ handle_composition_annotation (pos, limit, coding, buf, stop)
}
/* Extract an annotation dat
a
from a text property `charset' at POS of
/* Extract an annotation dat
um
from a text property `charset' at POS of
CODING->src_object (buffer of string), store the data in BUF, set
*STOP to the position where the value of `charset' property changes
(limiting by LIMIT), and return the address of the next element of
...
...
@@ -6900,12 +6900,12 @@ DEFUN ("find-coding-systems-region-internal",
if (XINT (end) - XINT (start) == end_byte - start_byte)
return Qt;
if (
start < GPT && end
> GPT)
if (
XINT (start) < GPT && XINT (end)
> GPT)
{
if ((GPT -
start) < (end
- GPT))
move_gap_both (
start
, start_byte);
if ((GPT -
XINT (start)) < (XINT (end)
- GPT))
move_gap_both (
XINT (start)
, start_byte);
else
move_gap_both (
end
, end_byte);
move_gap_both (
XINT (end)
, end_byte);
}
}
...
...
@@ -7031,14 +7031,14 @@ buffer positions. END is ignored. */)
if (XINT (end) - XINT (start) == end_byte - start_byte)
return Qt;
if (
start < GPT && end
> GPT)
if (
XINT (start) < GPT && XINT (end)
> GPT)
{
if ((GPT -
start) < (end
- GPT))
move_gap_both (
start
, start_byte);
if ((GPT -
XINT (start)) < (XINT (end)
- GPT))
move_gap_both (
XINT (start)
, start_byte);
else
move_gap_both (
end
, end_byte);
move_gap_both (
XINT (end)
, end_byte);
}
pos =
start
;
pos =
XINT (start)
;
}
list = Qnil;
...
...
@@ -8187,7 +8187,7 @@ usage: (define-coding-system-internal ...) */)
}
/* Fixme: should this record the alias relationships for
diagnostics? */
diagnostics?
Should it update coding-system-list?
*/
DEFUN ("define-coding-system-alias", Fdefine_coding_system_alias,
Sdefine_coding_system_alias, 2, 2, 0,
doc: /* Define ALIAS as an alias for CODING-SYSTEM. */)
...
...
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