summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-08-16 20:34:56 +0000
committerKarl Heuer <kwzh@gnu.org>1999-08-16 20:34:56 +0000
commitda71ab916bd5eb4be43811c65705e09ab4d2c7f8 (patch)
tree43d6790f9ac798b1054a6bd6efe5609e0ebb070a
parenta797a73ddce55098a21ae9e141dd0a3b8109cb94 (diff)
downloademacs-da71ab916bd5eb4be43811c65705e09ab4d2c7f8.tar.gz
(Fforward_comment): Set comstyle for Scomment_fence.
-rw-r--r--src/syntax.c4
1 files changed, 3 insertions, 1 deletions
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);