diff src/abbrev.c @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents 2d532a89d707
children 0e522484dd2a
line wrap: on
line diff
--- a/src/abbrev.c	Mon Aug 13 10:03:54 2007 +0200
+++ b/src/abbrev.c	Mon Aug 13 10:04:58 2007 +0200
@@ -179,11 +179,18 @@
       wordstart = get_buffer_pos_char (buf, Vabbrev_start_location,
 				       GB_COERCE_RANGE);
       Vabbrev_start_location = Qnil;
+      /*
+       * Previously, abbrev-prefix-mark inserted a dash to indicate the
+       * abbrev start point.  It now uses an extent with a begin
+       * glyph so there's no dash to remove.
+       */
+/*
       if (wordstart != BUF_ZV (buf)
 	  && BUF_FETCH_CHAR (buf, wordstart) == '-')
 	{
 	  buffer_delete_range (buf, wordstart, wordstart + 1, 0);
 	}
+*/
       wordend = BUF_PT (buf);
     }
   else