aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1999-08-16 20:34:56 +0000
committerKarl Heuer1999-08-16 20:34:56 +0000
commitda71ab916bd5eb4be43811c65705e09ab4d2c7f8 (patch)
tree43d6790f9ac798b1054a6bd6efe5609e0ebb070a
parenta797a73ddce55098a21ae9e141dd0a3b8109cb94 (diff)
downloademacs-da71ab916bd5eb4be43811c65705e09ab4d2c7f8.tar.gz
emacs-da71ab916bd5eb4be43811c65705e09ab4d2c7f8.zip
(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.")
1658 } 1658 }
1659 while (code == Swhitespace || code == Sendcomment); 1659 while (code == Swhitespace || code == Sendcomment);
1660 1660
1661 if (code != Scomment && code != Scomment_fence) 1661 if (code == Scomment_fence)
1662 comstyle = ST_COMMENT_STYLE;
1663 else if (code != Scomment)
1662 { 1664 {
1663 immediate_quit = 0; 1665 immediate_quit = 0;
1664 DEC_BOTH (from, from_byte); 1666 DEC_BOTH (from, from_byte);