aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 14a0dbe762c..f6cf47f1f28 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -169,7 +169,8 @@ string_to_object (Lisp_Object val, Lisp_Object defalt)
169 { 169 {
170 int c = SREF (val, i); 170 int c = SREF (val, i);
171 if (c != ' ' && c != '\t' && c != '\n') 171 if (c != ' ' && c != '\t' && c != '\n')
172 error ("Trailing garbage following expression"); 172 xsignal1 (Qinvalid_read_syntax,
173 build_string ("Trailing garbage following expression"));
173 } 174 }
174 } 175 }
175 176