summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-12-21 17:12:20 +0000
committerKarl Heuer <kwzh@gnu.org>1995-12-21 17:12:20 +0000
commitdbbcedff938307a46f73f6bbfb88e2e88599e61a (patch)
treea12ddf22bed792689527205eb71bae11a6453a50 /src/minibuf.c
parentd93cc19ed1e5184bbed8123e961ba72ccfc6e024 (diff)
downloademacs-dbbcedff938307a46f73f6bbfb88e2e88599e61a.tar.gz
(read_minibuf): Pass PROPS arg to make_buffer_string.
Let make_buffer_string handle the gap.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 7980e58c6a1..c2a11a1d62a 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -298,8 +298,10 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
}
/* Make minibuffer contents into a string */
- val = make_buffer_string (1, Z);
+ val = make_buffer_string (1, Z, 1);
+#if 0 /* make_buffer_string should handle the gap. */
bcopy (GAP_END_ADDR, XSTRING (val)->data + GPT - BEG, Z - GPT);
+#endif
/* VAL is the string of minibuffer text. */
last_minibuf_string = val;