From 5bb8cce10ceb6ed693c2833c9110bcbcb080000d Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 21 Dec 1995 17:12:20 +0000 Subject: [PATCH] (read_minibuf): Pass PROPS arg to make_buffer_string. Let make_buffer_string handle the gap. --- src/minibuf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2