aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
298 } 298 }
299 299
300 /* Make minibuffer contents into a string */ 300 /* Make minibuffer contents into a string */
301 val = make_buffer_string (1, Z); 301 val = make_buffer_string (1, Z, 1);
302#if 0 /* make_buffer_string should handle the gap. */
302 bcopy (GAP_END_ADDR, XSTRING (val)->data + GPT - BEG, Z - GPT); 303 bcopy (GAP_END_ADDR, XSTRING (val)->data + GPT - BEG, Z - GPT);
304#endif
303 305
304 /* VAL is the string of minibuffer text. */ 306 /* VAL is the string of minibuffer text. */
305 last_minibuf_string = val; 307 last_minibuf_string = val;