1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

(direct_output_for_insert): Avoid direct output when inserting a space

with word wrap on.
This commit is contained in:
Chong Yidong 2008-06-24 17:57:21 +00:00
parent 7e17f53d30
commit 64d3f03b89

View file

@ -3514,6 +3514,7 @@ direct_output_for_insert (g)
|| g == '\t'
|| g == '\n'
|| g == '\r'
|| (g == ' ' && !NILP (current_buffer->word_wrap))
/* Give up if unable to display the cursor in the window. */
|| w->cursor.vpos < 0
/* Give up if we are showing a message or just cleared the message