From da71ab916bd5eb4be43811c65705e09ab4d2c7f8 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 16 Aug 1999 20:34:56 +0000 Subject: [PATCH] (Fforward_comment): Set comstyle for Scomment_fence. --- src/syntax.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/syntax.c b/src/syntax.c index da41de6d5a7..233f7980251 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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); -- 2.39.5