1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

(Fexpand_abbrev): Convert a unibyte character to

multibyte if necessary.
This commit is contained in:
Kenichi Handa 2002-09-03 04:06:07 +00:00
parent f2e7bcef4d
commit 1464b3d8a8

View file

@ -295,9 +295,7 @@ Returns the abbrev symbol, if expansion took place. */)
FETCH_CHAR_ADVANCE (c, idx, idx_byte);
if (! multibyte)
{
MAKE_CHAR_MULTIBYTE (c);
}
MAKE_CHAR_MULTIBYTE (c);
if (UPPERCASEP (c))
c = DOWNCASE (c), uccount++;
@ -384,7 +382,7 @@ Returns the abbrev symbol, if expansion took place. */)
/* Find the initial. */
while (pos < PT_BYTE
&& SYNTAX (*BUF_BYTE_ADDRESS (current_buffer, pos)) != Sword)
&& SYNTAX (FETCH_CHAR_AS_MULTIBYTE (pos)) != Sword)
pos++;
/* Change just that. */