changeset 57739:577483cd5a95

(get_next_display_element): In mode lines, treat newline and tab like other control characters.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Oct 2004 14:46:25 +0000
parents 8be359c20ca3
children b73dae8c28d0
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Oct 27 12:50:22 2004 +0000
+++ b/src/xdisp.c	Wed Oct 27 14:46:25 2004 +0000
@@ -4891,6 +4891,8 @@
 	     translated to octal form.  */
 	  else if ((it->c < ' '
 		    && (it->area != TEXT_AREA
+			/* In mode line, treat \n, \t like other crl chars.  */
+			|| (it->glyph_row && it->glyph_row->mode_line_p)
 			|| (it->c != '\n' && it->c != '\t')))
 		   || (it->multibyte_p
 		       ? ((it->c >= 127