diff options
Diffstat (limited to 'src/abbrev.c')
-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.") if (INTERACTIVE && !EQ (minibuf_window, selected_window)) { + /* Add an undo boundary, in case we are doing this for + a self-inserting command which has avoided making one so far. */ SET_PT (wordend); Fundo_boundary (); } |