From: Gerd Moellmann Date: Fri, 2 Feb 2001 11:51:06 +0000 (+0000) Subject: (get_next_display_element): Fix case of empty X-Git-Tag: emacs-pretest-21.0.98~204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7eee47cc5e81179f93241c0dc80c6661c4b7902a;p=emacs.git (get_next_display_element): Fix case of empty display table entry. --- diff --git a/src/xdisp.c b/src/xdisp.c index 247e111750e..eaaff196079 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3877,9 +3877,13 @@ get_next_display_element (it) it->dpend = v->contents + v->size; it->current.dpvec_index = 0; it->method = next_element_from_display_vector; + success_p = get_next_display_element (it); + } + else + { + set_iterator_to_next (it, 0); + success_p = get_next_display_element (it); } - - success_p = get_next_display_element (it); } /* Translate control characters into `\003' or `^C' form.