aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-10-27 14:46:25 +0000
committerRichard M. Stallman <[email protected]>2004-10-27 14:46:25 +0000
commitec9f1dd3ece76f5967b6ae3904b32ad2aced2125 (patch)
tree611dc62096500d2469b09265f5cb686c078386b1 /src
parent3ccf95cb1a0138e00140490b72678c0d69c00ab4 (diff)
(get_next_display_element): In mode lines,
treat newline and tab like other control characters.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index afae7fd22a..df68ab80ef 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4891,6 +4891,8 @@ get_next_display_element (it)
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