diff options
| author | Chong Yidong | 2008-06-24 17:57:21 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-06-24 17:57:21 +0000 |
| commit | 64d3f03b8963d168920cde68cb22273d558bdfa3 (patch) | |
| tree | 398a9528db2595da8b863f132d7fd697286488fc /src | |
| parent | 7e17f53d30c7cc3ee911068b5f42e5cc78ce9bb2 (diff) | |
| download | emacs-64d3f03b8963d168920cde68cb22273d558bdfa3.tar.gz emacs-64d3f03b8963d168920cde68cb22273d558bdfa3.zip | |
(direct_output_for_insert): Avoid direct output when inserting a space
with word wrap on.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index f6f464d9eb3..f182af77d3b 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -3514,6 +3514,7 @@ direct_output_for_insert (g) | |||
| 3514 | || g == '\t' | 3514 | || g == '\t' |
| 3515 | || g == '\n' | 3515 | || g == '\n' |
| 3516 | || g == '\r' | 3516 | || g == '\r' |
| 3517 | || (g == ' ' && !NILP (current_buffer->word_wrap)) | ||
| 3517 | /* Give up if unable to display the cursor in the window. */ | 3518 | /* Give up if unable to display the cursor in the window. */ |
| 3518 | || w->cursor.vpos < 0 | 3519 | || w->cursor.vpos < 0 |
| 3519 | /* Give up if we are showing a message or just cleared the message | 3520 | /* Give up if we are showing a message or just cleared the message |