changeset 97570:0bd8c433ca1f

get_phys_cursor_geometry: redraw wider pixels on Nextstep, too. ensure_echo_area_buffers: add comment.
author David Reitter <david.reitter@gmail.com>
date Wed, 20 Aug 2008 17:50:20 +0000
parents 09c3a29de655
children c532aa80972d
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Aug 20 17:46:37 2008 +0000
+++ b/src/xdisp.c	Wed Aug 20 17:50:20 2008 +0000
@@ -2093,7 +2093,7 @@
      rectangle as wide as the glyph, but use a canonical character
      width instead.  */
   wd = glyph->pixel_width - 1;
-#ifdef HAVE_NTGUI
+#if defined(HAVE_NTGUI) || defined(HAVE_NS)
   wd++; /* Why? */
 #endif
 
@@ -8292,6 +8292,9 @@
 	sprintf (name, " *Echo Area %d*", i);
 	echo_buffer[i] = Fget_buffer_create (build_string (name));
 	XBUFFER (echo_buffer[i])->truncate_lines = Qnil;
+	/* to force word wrap in echo area - 
+	   it was decided to postpone this*/
+	/* XBUFFER (echo_buffer[i])->word_wrap = Qt; */
 
 	for (j = 0; j < 2; ++j)
 	  if (EQ (old_buffer, echo_area_buffer[j]))