aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1992-06-10 02:25:55 +0000
committerRichard M. Stallman1992-06-10 02:25:55 +0000
commit4de86b16296516788a3c65d98b13464c4462549a (patch)
treecb69054474496cc057fcc84f4b4e46a2eb1060ee /src
parent87ef29fd4c779b40f56cca5a5bb208c8fd79680d (diff)
downloademacs-4de86b16296516788a3c65d98b13464c4462549a.tar.gz
emacs-4de86b16296516788a3c65d98b13464c4462549a.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/eval.c10
-rw-r--r--src/lisp.h5
2 files changed, 8 insertions, 7 deletions
diff --git a/src/eval.c b/src/eval.c
index f5e0bc2e276..d3d475f4d10 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -103,11 +103,11 @@ int max_lisp_eval_depth;
103int debug_on_next_call; 103int debug_on_next_call;
104 104
105/* List of conditions (non-nil atom means all) which cause a backtrace 105/* List of conditions (non-nil atom means all) which cause a backtrace
106 if an error is handled by the command loop's error handler. 106 if an error is handled by the command loop's error handler. */
107Lisp_Object Vstack_trace_on_error; 107Lisp_Object Vstack_trace_on_error;
108 108
109/* List of conditions (non-nil atom means all) which enter the debugger 109/* List of conditions (non-nil atom means all) which enter the debugger
110 if an error is handled by the command loop's error handler. 110 if an error is handled by the command loop's error handler. */
111Lisp_Object Vdebug_on_error; 111Lisp_Object Vdebug_on_error;
112 112
113/* Nonzero means enter debugger if a quit signal 113/* Nonzero means enter debugger if a quit signal
@@ -1139,17 +1139,17 @@ wants_debugger (list, conditions)
1139 return 1; 1139 return 1;
1140 } 1140 }
1141 1141
1142 if (NULL (list)) 1142 if (NILP (list))
1143 return 0; 1143 return 0;
1144 if (! CONSP (list)) 1144 if (! CONSP (list))
1145 return 1; 1145 return 1;
1146 1146
1147 looking = 1; 1147 looking = 1;
1148 while (!NULL (conditions)) 1148 while (!NILP (conditions))
1149 { 1149 {
1150 Lisp_Object tem; 1150 Lisp_Object tem;
1151 tem = Fmemq (XCONS (conditions)->car, list); 1151 tem = Fmemq (XCONS (conditions)->car, list);
1152 if (! NULL (tem)) 1152 if (! NILP (tem))
1153 { 1153 {
1154 looking = 0; 1154 looking = 0;
1155 return 1; 1155 return 1;
diff --git a/src/lisp.h b/src/lisp.h
index 2831070b2cd..86885456602 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -826,10 +826,11 @@ extern Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch;
826extern Lisp_Object Qend_of_file, Qarith_error; 826extern Lisp_Object Qend_of_file, Qarith_error;
827extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; 827extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only;
828 828
829extern Lisp_Object Qintegerp, Qnatnump, Qsymbolp, Qlistp, Qconsp; 829extern Lisp_Object Qintegerp, Qnumberp, Qnatnump, Qsymbolp, Qlistp, Qconsp;
830extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; 830extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp;
831extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qvectorp; 831extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qvectorp;
832extern Lisp_Object Qinteger_or_marker_p, Qboundp, Qfboundp; 832extern Lisp_Object Qinteger_or_marker_p, Qnumber_or_marker_p;
833extern Lisp_Object Qboundp, Qfboundp;
833extern Lisp_Object Qcdr; 834extern Lisp_Object Qcdr;
834 835
835#ifdef LISP_FLOAT_TYPE 836#ifdef LISP_FLOAT_TYPE