summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-01-13 21:48:08 +0000
committerJim Blandy <jimb@redhat.com>1992-01-13 21:48:08 +0000
commitbd5cd35fd8b585ad3d87f8be98b45a415fea22c0 (patch)
tree5d416f154f32b77026a495de37f12a05269095e5 /src/macros.c
parent254f294c2e37a22e04bff74fedfdc9b1fcc93b93 (diff)
downloademacs-bd5cd35fd8b585ad3d87f8be98b45a415fea22c0.tar.gz
*** empty log message ***
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/macros.c b/src/macros.c
index 5b19d926d66..f9c158c89eb 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -64,7 +64,7 @@ Non-nil arg (prefix arg) means append to last macro defined;\n\
error ("Already defining kbd macro");
update_mode_lines++;
- if (NULL (append))
+ if (NILP (append))
{
kbd_macro_ptr = kbd_macro_buffer;
kbd_macro_end = kbd_macro_buffer;
@@ -97,7 +97,7 @@ An argument of zero means repeat until error.")
if (!defining_kbd_macro)
error ("Not defining kbd macro.");
- if (NULL (arg))
+ if (NILP (arg))
XFASTINT (arg) = 1;
else
CHECK_NUMBER (arg, 0);
@@ -164,7 +164,7 @@ defining others, use \\[name-last-kbd-macro].")
{
if (defining_kbd_macro)
error ("Can't execute anonymous macro while defining one");
- else if (NULL (Vlast_kbd_macro))
+ else if (NILP (Vlast_kbd_macro))
error ("No kbd macro has been defined");
else
Fexecute_kbd_macro (Vlast_kbd_macro, prefix);
@@ -197,7 +197,7 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.")
int repeat = 1;
struct gcpro gcpro1;
- if (!NULL (prefixarg))
+ if (!NILP (prefixarg))
prefixarg = Fprefix_numeric_value (prefixarg),
repeat = XINT (prefixarg);