diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/abbrev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/abbrev.c b/src/abbrev.c index e4a33941247..d35cdbf8032 100644 --- a/src/abbrev.c +++ b/src/abbrev.c | |||
| @@ -283,6 +283,8 @@ Returns t if expansion took place.") | |||
| 283 | 283 | ||
| 284 | if (INTERACTIVE && !EQ (minibuf_window, selected_window)) | 284 | if (INTERACTIVE && !EQ (minibuf_window, selected_window)) |
| 285 | { | 285 | { |
| 286 | /* Add an undo boundary, in case we are doing this for | ||
| 287 | a self-inserting command which has avoided making one so far. */ | ||
| 286 | SET_PT (wordend); | 288 | SET_PT (wordend); |
| 287 | Fundo_boundary (); | 289 | Fundo_boundary (); |
| 288 | } | 290 | } |