aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorPavel Janík2001-11-02 20:46:55 +0000
committerPavel Janík2001-11-02 20:46:55 +0000
commitb78265036088d5d0eac2a03b929adb50aa59b45c (patch)
treede99fe733144deb926fd31ee7bdff95cb1bc5073 /src/eval.c
parent00a2cef7d11a1b193891eb3d28274ef7fc7c3fe4 (diff)
downloademacs-b78265036088d5d0eac2a03b929adb50aa59b45c.tar.gz
emacs-b78265036088d5d0eac2a03b929adb50aa59b45c.zip
Update usage of CHECK_ macros (remove unused second argument).
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/eval.c b/src/eval.c
index 8071307b734..075bcf1d384 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -690,8 +690,8 @@ ALIASED nil means remove the alias; SYMBOL is unbound after that. */)
690{ 690{
691 struct Lisp_Symbol *sym; 691 struct Lisp_Symbol *sym;
692 692
693 CHECK_SYMBOL (symbol, 0); 693 CHECK_SYMBOL (symbol);
694 CHECK_SYMBOL (aliased, 1); 694 CHECK_SYMBOL (aliased);
695 695
696 if (SYMBOL_CONSTANT_P (symbol)) 696 if (SYMBOL_CONSTANT_P (symbol))
697 error ("Cannot make a constant an alias"); 697 error ("Cannot make a constant an alias");
@@ -1215,7 +1215,7 @@ usage: (condition-case VAR BODYFORM HANDLERS...) */)
1215 var = Fcar (args); 1215 var = Fcar (args);
1216 bodyform = Fcar (Fcdr (args)); 1216 bodyform = Fcar (Fcdr (args));
1217 handlers = Fcdr (Fcdr (args)); 1217 handlers = Fcdr (Fcdr (args));
1218 CHECK_SYMBOL (var, 0); 1218 CHECK_SYMBOL (var);
1219 1219
1220 for (val = handlers; ! NILP (val); val = Fcdr (val)) 1220 for (val = handlers; ! NILP (val); val = Fcdr (val))
1221 { 1221 {
@@ -1825,8 +1825,8 @@ this does nothing and returns nil. */)
1825 Lisp_Object args[4]; 1825 Lisp_Object args[4];
1826#endif 1826#endif
1827 1827
1828 CHECK_SYMBOL (function, 0); 1828 CHECK_SYMBOL (function);
1829 CHECK_STRING (file, 1); 1829 CHECK_STRING (file);
1830 1830
1831 /* If function is defined and not as an autoload, don't override */ 1831 /* If function is defined and not as an autoload, don't override */
1832 if (!EQ (XSYMBOL (function)->function, Qunbound) 1832 if (!EQ (XSYMBOL (function)->function, Qunbound)
@@ -1888,7 +1888,7 @@ do_autoload (fundef, funname)
1888 struct gcpro gcpro1, gcpro2, gcpro3; 1888 struct gcpro gcpro1, gcpro2, gcpro3;
1889 1889
1890 fun = funname; 1890 fun = funname;
1891 CHECK_SYMBOL (funname, 0); 1891 CHECK_SYMBOL (funname);
1892 GCPRO3 (fun, funname, fundef); 1892 GCPRO3 (fun, funname, fundef);
1893 1893
1894 /* Preserve the match data. */ 1894 /* Preserve the match data. */
@@ -2158,7 +2158,7 @@ usage: (apply FUNCTION &rest ARGUMENTS) */)
2158 fun = args [0]; 2158 fun = args [0];
2159 funcall_args = 0; 2159 funcall_args = 0;
2160 spread_arg = args [nargs - 1]; 2160 spread_arg = args [nargs - 1];
2161 CHECK_LIST (spread_arg, nargs); 2161 CHECK_LIST (spread_arg);
2162 2162
2163 numargs = XINT (Flength (spread_arg)); 2163 numargs = XINT (Flength (spread_arg));
2164 2164
@@ -2960,7 +2960,7 @@ specbind (symbol, value)
2960 Lisp_Object ovalue; 2960 Lisp_Object ovalue;
2961 Lisp_Object valcontents; 2961 Lisp_Object valcontents;
2962 2962
2963 CHECK_SYMBOL (symbol, 0); 2963 CHECK_SYMBOL (symbol);
2964 if (specpdl_ptr == specpdl + specpdl_size) 2964 if (specpdl_ptr == specpdl + specpdl_size)
2965 grow_specpdl (); 2965 grow_specpdl ();
2966 2966
@@ -3117,7 +3117,7 @@ top_level_value (symbol)
3117{ 3117{
3118 register struct specbinding *ptr = specpdl; 3118 register struct specbinding *ptr = specpdl;
3119 3119
3120 CHECK_SYMBOL (symbol, 0); 3120 CHECK_SYMBOL (symbol);
3121 for (; ptr != specpdl_ptr; ptr++) 3121 for (; ptr != specpdl_ptr; ptr++)
3122 { 3122 {
3123 if (EQ (ptr->symbol, symbol)) 3123 if (EQ (ptr->symbol, symbol))
@@ -3132,7 +3132,7 @@ top_level_set (symbol, newval)
3132{ 3132{
3133 register struct specbinding *ptr = specpdl; 3133 register struct specbinding *ptr = specpdl;
3134 3134
3135 CHECK_SYMBOL (symbol, 0); 3135 CHECK_SYMBOL (symbol);
3136 for (; ptr != specpdl_ptr; ptr++) 3136 for (; ptr != specpdl_ptr; ptr++)
3137 { 3137 {
3138 if (EQ (ptr->symbol, symbol)) 3138 if (EQ (ptr->symbol, symbol))
@@ -3155,7 +3155,7 @@ The debugger is entered when that frame exits, if the flag is non-nil. */)
3155 register struct backtrace *backlist = backtrace_list; 3155 register struct backtrace *backlist = backtrace_list;
3156 register int i; 3156 register int i;
3157 3157
3158 CHECK_NUMBER (level, 0); 3158 CHECK_NUMBER (level);
3159 3159
3160 for (i = 0; backlist && i < XINT (level); i++) 3160 for (i = 0; backlist && i < XINT (level); i++)
3161 { 3161 {
@@ -3243,7 +3243,7 @@ If NFRAMES is more than the number of frames, the value is nil. */)
3243 register int i; 3243 register int i;
3244 Lisp_Object tem; 3244 Lisp_Object tem;
3245 3245
3246 CHECK_NATNUM (nframes, 0); 3246 CHECK_NATNUM (nframes);
3247 3247
3248 /* Find the frame requested. */ 3248 /* Find the frame requested. */
3249 for (i = 0; backlist && i < XFASTINT (nframes); i++) 3249 for (i = 0; backlist && i < XFASTINT (nframes); i++)