]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fforward_comment): Set comstyle for Scomment_fence.
authorKarl Heuer <kwzh@gnu.org>
Mon, 16 Aug 1999 20:34:56 +0000 (20:34 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 16 Aug 1999 20:34:56 +0000 (20:34 +0000)
src/syntax.c

index da41de6d5a7911b545c9e2d49f4b9606e522bd15..233f79802513889721da5b9f3ba0fe7d1270f2a8 100644 (file)
@@ -1658,7 +1658,9 @@ between them, return t; otherwise return nil.")
        }
       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);