diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-12-21 17:12:20 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-12-21 17:12:20 +0000 |
commit | dbbcedff938307a46f73f6bbfb88e2e88599e61a (patch) | |
tree | a12ddf22bed792689527205eb71bae11a6453a50 | |
parent | d93cc19ed1e5184bbed8123e961ba72ccfc6e024 (diff) | |
download | emacs-dbbcedff938307a46f73f6bbfb88e2e88599e61a.tar.gz |
(read_minibuf): Pass PROPS arg to make_buffer_string.
Let make_buffer_string handle the gap.
-rw-r--r-- | src/minibuf.c | 4 |
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; |