From: Karl Heuer Date: Thu, 21 Dec 1995 17:12:20 +0000 (+0000) Subject: (read_minibuf): Pass PROPS arg to make_buffer_string. X-Git-Tag: emacs-19.34~2085 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bb8cce10ceb6ed693c2833c9110bcbcb080000d;p=emacs.git (read_minibuf): Pass PROPS arg to make_buffer_string. Let make_buffer_string handle the gap. --- 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;