aboutsummaryrefslogtreecommitdiffstats
path: root/src/minibuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 185995e61f..ebc2b8b959 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -269,6 +269,11 @@ get_minibuffer (depth)
{
sprintf (name, " *Minibuf-%d*", depth);
buf = Fget_buffer_create (build_string (name));
+
+ /* Although the buffer's name starts with a space, undo should be
+ enabled in it. */
+ Fbuffer_enable_undo (buf);
+
XCONS (tail)->car = buf;
}
else