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
commit265a9e559da4ac72d154ecd638c51801b3e97847 (patch)
tree633e4dc50761c2cd5201a7874e23eee9e51aecea /src/macros.c
parentd427b66a664c0e1ffc818dfa5b87b45b4857d2ae (diff)
downloademacs-265a9e559da4ac72d154ecd638c51801b3e97847.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);