/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1008 by rms, Sat May 14 14:09:36 2005 UTC revision 1.1009 by kfstorm, Mon May 16 21:25:20 2005 UTC
# Line 3471  handle_display_prop (it) Line 3471  handle_display_prop (it)
3471      }      }
3472    else    else
3473      {      {
3474        if (handle_single_display_spec (it, prop, object, position, 0))        int ret = handle_single_display_spec (it, prop, object, position, 0);
3475          if (ret < 0)  /* Replaced by "", i.e. nothing. */
3476            return HANDLED_RECOMPUTE_PROPS;
3477          if (ret)
3478          display_replaced_p = 1;          display_replaced_p = 1;
3479      }      }
3480    
# Line 3515  display_prop_end (it, object, start_pos) Line 3518  display_prop_end (it, object, start_pos)
3518     property ends.     property ends.
3519    
3520     Value is non-zero if something was found which replaces the display     Value is non-zero if something was found which replaces the display
3521     of buffer or string text.  */     of buffer or string text.  Specifically, the value is -1 if that
3522       "something" is "nothing". */
3523    
3524  static int  static int
3525  handle_single_display_spec (it, spec, object, position,  handle_single_display_spec (it, spec, object, position,
# Line 3830  handle_single_display_spec (it, spec, ob Line 3834  handle_single_display_spec (it, spec, ob
3834    
3835        if (STRINGP (value))        if (STRINGP (value))
3836          {          {
3837              if (SCHARS (value) == 0)
3838                {
3839                  pop_it (it);
3840                  return -1;  /* Replaced by "", i.e. nothing.  */
3841                }
3842            it->string = value;            it->string = value;
3843            it->multibyte_p = STRING_MULTIBYTE (it->string);            it->multibyte_p = STRING_MULTIBYTE (it->string);
3844            it->current.overlay_string_index = -1;            it->current.overlay_string_index = -1;

Legend:
Removed from v.1.1008  
changed lines
  Added in v.1.1009

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26