diff options
| author | Karl Heuer | 1995-12-21 17:12:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-12-21 17:12:20 +0000 |
| commit | 5bb8cce10ceb6ed693c2833c9110bcbcb080000d (patch) | |
| tree | 0630f12d7acab498320fd9e4328850e44c81626d /src | |
| parent | 013961a120faae15921a5217bc433a08421d0cf3 (diff) | |
| download | emacs-5bb8cce10ceb6ed693c2833c9110bcbcb080000d.tar.gz emacs-5bb8cce10ceb6ed693c2833c9110bcbcb080000d.zip | |
(read_minibuf): Pass PROPS arg to make_buffer_string.
Let make_buffer_string handle the gap.
Diffstat (limited to 'src')
| -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) | |||
| 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; |