(get_next_display_element): Fix escape-glyph criterion

for mode and header lines.
This commit is contained in:
Richard M. Stallman 2005-02-15 06:50:48 +00:00
parent 0a25a2013e
commit 6407f07b6f
2 changed files with 22 additions and 1 deletions

View file

@ -1,3 +1,24 @@
2005-02-15 Richard M. Stallman <rms@gnu.org>
* xdisp.c (get_next_display_element): Fix escape-glyph criterion
for mode and header lines.
* lread.c (syms_of_lread) <user-init-file>: Doc fix.
* keymap.h (describe_map_tree): Change decl.
* keyboard.c (command_loop_1): Always use safe_run_hooks
to run Qdeferred_action_function.
* keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed.
(describe_map, describe_vector): Likewise. When it's 1,
don't omit shadowed bindings, instead mark them as shadowed.
* doc.c (Fsubstitute_command_keys): Compute list of shadowing maps
for describe_map_tree. Pass 1 for MENTION_SHADOW.
* data.c (Fsetq_default): Allow no arg case.
2005-02-14 Kenichi Handa <handa@m17n.org>
* coding.c (encode_coding_string): Always return a unibyte string.

View file

@ -5044,7 +5044,7 @@ get_next_display_element (it)
else if ((it->c < ' '
&& (it->area != TEXT_AREA
/* In mode line, treat \n like other crl chars. */
|| (it->c != '\n'
|| (it->c != '\t'
&& it->glyph_row && it->glyph_row->mode_line_p)
|| (it->c != '\n' && it->c != '\t')))
|| (it->multibyte_p