aboutsummaryrefslogtreecommitdiffstats
path: root/src/mocklisp.c
diff options
context:
space:
mode:
authorJim Blandy1992-01-13 21:48:03 +0000
committerJim Blandy1992-01-13 21:48:03 +0000
commitd427b66a664c0e1ffc818dfa5b87b45b4857d2ae (patch)
treea3255be5cf521ab9c44b9fdfd06a0466274be421 /src/mocklisp.c
parentb2c9579f172da05112f29b664de6d8da98c1e813 (diff)
downloademacs-d427b66a664c0e1ffc818dfa5b87b45b4857d2ae.tar.gz
emacs-d427b66a664c0e1ffc818dfa5b87b45b4857d2ae.zip
entered into RCS
Diffstat (limited to 'src/mocklisp.c')
-rw-r--r--src/mocklisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mocklisp.c b/src/mocklisp.c
index 5f0800f94c1..353d4da0e43 100644
--- a/src/mocklisp.c
+++ b/src/mocklisp.c
@@ -32,7 +32,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
32* { 32* {
33* Lisp_Object elt; 33* Lisp_Object elt;
34* 34*
35* while (!NULL (args)) 35* while (!NILP (args))
36* { 36* {
37* elt = Fcar (args); 37* elt = Fcar (args);
38* Ffset (Fcar (elt), Fcons (Qmocklisp, Fcdr (elt))); 38* Ffset (Fcar (elt), Fcons (Qmocklisp, Fcdr (elt)));
@@ -50,11 +50,11 @@ DEFUN ("ml-if", Fml_if, Sml_if, 0, UNEVALLED, 0, "Mocklisp version of `if'.")
50 struct gcpro gcpro1; 50 struct gcpro gcpro1;
51 51
52 GCPRO1 (args); 52 GCPRO1 (args);
53 while (!NULL (args)) 53 while (!NILP (args))
54 { 54 {
55 val = Feval (Fcar (args)); 55 val = Feval (Fcar (args));
56 args = Fcdr (args); 56 args = Fcdr (args);
57 if (NULL (args)) break; 57 if (NILP (args)) break;
58 if (XINT (val)) 58 if (XINT (val))
59 { 59 {
60 val = Feval (Fcar (args)); 60 val = Feval (Fcar (args));
@@ -156,7 +156,7 @@ DEFUN ("ml-prefix-argument-loop", Fml_prefix_argument_loop, Sml_prefix_argument_
156 struct gcpro gcpro1; 156 struct gcpro gcpro1;
157 157
158 /* Set `arg' in case we call a built-in function that looks at it. Still are a few. */ 158 /* Set `arg' in case we call a built-in function that looks at it. Still are a few. */
159 if (NULL (Vcurrent_prefix_arg)) 159 if (NILP (Vcurrent_prefix_arg))
160 i = 1; 160 i = 1;
161 else 161 else
162 { 162 {