aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-12 07:19:39 +0000
committerRichard M. Stallman1993-06-12 07:19:39 +0000
commit98006242df8337523e2c5b7df02815b1407f03a0 (patch)
tree84a339fe76567a63924c42fa964c56535f18cb1e /src
parent4be1d460883bc7386caf514f1817d09238a2754d (diff)
downloademacs-98006242df8337523e2c5b7df02815b1407f03a0.tar.gz
emacs-98006242df8337523e2c5b7df02815b1407f03a0.zip
(Fcopy_keymap): Check Fkeymapp value with NILP.
Diffstat (limited to 'src')
-rw-r--r--src/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 6d0f9e5c058..24f3daa6549 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -464,7 +464,7 @@ is not copied.")
464 464
465 for (i = 0; i < XVECTOR (elt)->size; i++) 465 for (i = 0; i < XVECTOR (elt)->size; i++)
466 if (XTYPE (XVECTOR (elt)->contents[i]) != Lisp_Symbol 466 if (XTYPE (XVECTOR (elt)->contents[i]) != Lisp_Symbol
467 && Fkeymapp (XVECTOR (elt)->contents[i])) 467 && ! NILP (Fkeymapp (XVECTOR (elt)->contents[i])))
468 XVECTOR (elt)->contents[i] = 468 XVECTOR (elt)->contents[i] =
469 Fcopy_keymap (XVECTOR (elt)->contents[i]); 469 Fcopy_keymap (XVECTOR (elt)->contents[i]);
470 } 470 }