aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-12-21 17:12:20 +0000
committerKarl Heuer1995-12-21 17:12:20 +0000
commit5bb8cce10ceb6ed693c2833c9110bcbcb080000d (patch)
tree0630f12d7acab498320fd9e4328850e44c81626d
parent013961a120faae15921a5217bc433a08421d0cf3 (diff)
downloademacs-5bb8cce10ceb6ed693c2833c9110bcbcb080000d.tar.gz
emacs-5bb8cce10ceb6ed693c2833c9110bcbcb080000d.zip
(read_minibuf): Pass PROPS arg to make_buffer_string.
Let make_buffer_string handle the gap.
-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;