changeset 25290:a80acb2a8273

(Fforward_comment): Set comstyle for Scomment_fence.
author Karl Heuer <kwzh@gnu.org>
date Mon, 16 Aug 1999 20:34:56 +0000
parents 64b742df49ca
children d9fa9f9ceb21
files src/syntax.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Mon Aug 16 18:32:29 1999 +0000
+++ b/src/syntax.c	Mon Aug 16 20:34:56 1999 +0000
@@ -1658,7 +1658,9 @@
 	}
       while (code == Swhitespace || code == Sendcomment);
 
-      if (code != Scomment && code != Scomment_fence)
+      if (code == Scomment_fence)
+	comstyle = ST_COMMENT_STYLE;
+      else if (code != Scomment)
 	{
 	  immediate_quit = 0;
 	  DEC_BOTH (from, from_byte);