aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index caae4cb17e2..ecff5d40a10 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1817,7 +1817,7 @@ See also the function `condition-case'. */
1817 (Lisp_Object error_symbol, Lisp_Object data) 1817 (Lisp_Object error_symbol, Lisp_Object data)
1818{ 1818{
1819 /* If they call us with nonsensical arguments, produce "peculiar error". */ 1819 /* If they call us with nonsensical arguments, produce "peculiar error". */
1820 if (NILP (error_symbol) && NILP (data)) 1820 if (NILP (error_symbol) && !CONSP (data))
1821 error_symbol = Qerror; 1821 error_symbol = Qerror;
1822 signal_or_quit (error_symbol, data, false); 1822 signal_or_quit (error_symbol, data, false);
1823 eassume (false); 1823 eassume (false);