aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1992-09-22 05:19:09 +0000
committerJim Blandy <[email protected]>1992-09-22 05:19:09 +0000
commit5d6533f1865725d8171b3014f74f5ab17b777622 (patch)
tree9a959ff73290a85caf25f9ec48bae751ef571b3e /src
parent78ca380c45ea2b38a5f7011afbe58e360f11b9a1 (diff)
Thu Sep 17 15:51:18 1992 Jim Blandy ([email protected])
* minibuf.c (get_minibuffer): Enable undo in minibuffers.
Diffstat (limited to 'src')
-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