]> git.eshelyaron.com Git - emacs.git/commitdiff
(get_next_display_element): In mode lines,
authorRichard M. Stallman <rms@gnu.org>
Wed, 27 Oct 2004 14:46:25 +0000 (14:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 27 Oct 2004 14:46:25 +0000 (14:46 +0000)
treat newline and tab like other control characters.

src/xdisp.c

index afae7fd22affbf8c65586dcec57386eb2a12961b..df68ab80effcb7035aab9acc41d75e01c357a86d 100644 (file)
@@ -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