summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-10-20 20:56:18 +0000
committerRichard M. Stallman <rms@gnu.org>1998-10-20 20:56:18 +0000
commitf3be100fc29c31d69f289d0cc986dcc2f6bbe08a (patch)
tree02dbd2bd571c38c30af8ff4268206ed1641d8bd5 /src/syntax.c
parent9e265777d9c980f698a510239a67f2a314901c85 (diff)
downloademacs-f3be100fc29c31d69f289d0cc986dcc2f6bbe08a.tar.gz
(syms_of_syntax): Fix the setup of Qscan_error.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index a2049e024bf..884ce5bf20a 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2795,7 +2795,7 @@ syms_of_syntax ()
Qscan_error = intern ("scan-error");
staticpro (&Qscan_error);
Fput (Qscan_error, Qerror_conditions,
- Fcons (Qerror, Qnil));
+ Fcons (Qscan_error, Fcons (Qerror, Qnil)));
Fput (Qscan_error, Qerror_message,
build_string ("Scan error"));