aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/abbrev.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/abbrev.c b/src/abbrev.c
index 64989b40553..7ba0f575a2d 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -295,9 +295,7 @@ Returns the abbrev symbol, if expansion took place. */)
295 295
296 FETCH_CHAR_ADVANCE (c, idx, idx_byte); 296 FETCH_CHAR_ADVANCE (c, idx, idx_byte);
297 if (! multibyte) 297 if (! multibyte)
298 { 298 MAKE_CHAR_MULTIBYTE (c);
299 MAKE_CHAR_MULTIBYTE (c);
300 }
301 299
302 if (UPPERCASEP (c)) 300 if (UPPERCASEP (c))
303 c = DOWNCASE (c), uccount++; 301 c = DOWNCASE (c), uccount++;
@@ -384,7 +382,7 @@ Returns the abbrev symbol, if expansion took place. */)
384 382
385 /* Find the initial. */ 383 /* Find the initial. */
386 while (pos < PT_BYTE 384 while (pos < PT_BYTE
387 && SYNTAX (*BUF_BYTE_ADDRESS (current_buffer, pos)) != Sword) 385 && SYNTAX (FETCH_CHAR_AS_MULTIBYTE (pos)) != Sword)
388 pos++; 386 pos++;
389 387
390 /* Change just that. */ 388 /* Change just that. */