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
fc44dfab
Commit
fc44dfab
authored
Feb 22, 1997
by
Karl Heuer
Browse files
Change FETCH_CHAR references to FETCH_BYTE.
parent
f8bce5df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/abbrev.c
src/abbrev.c
+2
-2
src/casefiddle.c
src/casefiddle.c
+2
-2
No files found.
src/abbrev.c
View file @
fc44dfab
...
...
@@ -243,7 +243,7 @@ Returns the abbrev symbol, if expansion took place.")
Vabbrev_start_location
=
Qnil
;
if
(
wordstart
<
BEGV
||
wordstart
>
ZV
)
wordstart
=
0
;
if
(
wordstart
&&
wordstart
!=
ZV
&&
FETCH_
CHAR
(
wordstart
)
==
'-'
)
if
(
wordstart
&&
wordstart
!=
ZV
&&
FETCH_
BYTE
(
wordstart
)
==
'-'
)
del_range
(
wordstart
,
wordstart
+
1
);
}
if
(
!
wordstart
)
...
...
@@ -266,7 +266,7 @@ Returns the abbrev symbol, if expansion took place.")
for
(
idx
=
wordstart
;
idx
<
wordend
;
idx
++
)
{
register
int
c
=
FETCH_
CHAR
(
idx
);
register
int
c
=
FETCH_
BYTE
(
idx
);
if
(
UPPERCASEP
(
c
))
c
=
DOWNCASE
(
c
),
uccount
++
;
else
if
(
!
NOCASEP
(
c
))
...
...
src/casefiddle.c
View file @
fc44dfab
...
...
@@ -149,13 +149,13 @@ casify_region (flag, b, e)
for
(
i
=
start
;
i
<
end
;
i
++
)
{
c
=
FETCH_
CHAR
(
i
);
c
=
FETCH_
BYTE
(
i
);
if
(
inword
&&
flag
!=
CASE_CAPITALIZE_UP
)
c
=
DOWNCASE
(
c
);
else
if
(
!
UPPERCASEP
(
c
)
&&
(
!
inword
||
flag
!=
CASE_CAPITALIZE_UP
))
c
=
UPCASE1
(
c
);
FETCH_
CHAR
(
i
)
=
c
;
FETCH_
BYTE
(
i
)
=
c
;
if
((
int
)
flag
>=
(
int
)
CASE_CAPITALIZE
)
inword
=
SYNTAX
(
c
)
==
Sword
;
}
...
...
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