diff options
| author | Glenn Morris | 2011-09-24 11:29:35 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-09-24 11:29:35 -0700 |
| commit | cddde9219f8ec1a47e0e967c117e269ecf9742e9 (patch) | |
| tree | 4f6d9c6b52266261a2486570e6e6ee89c29d5dee /src | |
| parent | e1bf8792e9ea9b2bba59c1937c0ff4120b9f74e9 (diff) | |
| download | emacs-cddde9219f8ec1a47e0e967c117e269ecf9742e9.tar.gz emacs-cddde9219f8ec1a47e0e967c117e269ecf9742e9.zip | |
* src/minibuf.c (read_minibuf): Disable line truncation. (Bug#5715)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/minibuf.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 54e5a39b21e..aaa200054c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-09-24 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * minibuf.c (read_minibuf): Disable line truncation. (Bug#5715) | ||
| 4 | |||
| 1 | 2011-09-24 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2011-09-24 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Fix minor problems found by static checking. | 7 | Fix minor problems found by static checking. |
diff --git a/src/minibuf.c b/src/minibuf.c index d3f43b06254..341d544ef51 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -559,6 +559,10 @@ read_minibuf (Lisp_Object map, Lisp_Object initial, Lisp_Object prompt, | |||
| 559 | minibuffer = get_minibuffer (minibuf_level); | 559 | minibuffer = get_minibuffer (minibuf_level); |
| 560 | Fset_buffer (minibuffer); | 560 | Fset_buffer (minibuffer); |
| 561 | 561 | ||
| 562 | /* Defeat (setq-default truncate-lines t), since truncated lines do | ||
| 563 | not work correctly in minibuffers. (Bug#5715, etc) */ | ||
| 564 | BVAR (current_buffer, truncate_lines) = Qnil; | ||
| 565 | |||
| 562 | /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ | 566 | /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ |
| 563 | if (inherit_input_method) | 567 | if (inherit_input_method) |
| 564 | BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte; | 568 | BVAR (current_buffer, enable_multibyte_characters) = enable_multibyte; |