changeset 3674:cfa45731460e

(Fcopy_keymap): Check Fkeymapp value with NILP.
author Richard M. Stallman <rms@gnu.org>
date Sat, 12 Jun 1993 07:19:39 +0000
parents 8ab0a7453577
children f42eaf84478f
files src/keymap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Sat Jun 12 07:19:24 1993 +0000
+++ b/src/keymap.c	Sat Jun 12 07:19:39 1993 +0000
@@ -464,7 +464,7 @@
 
 	  for (i = 0; i < XVECTOR (elt)->size; i++)
 	    if (XTYPE (XVECTOR (elt)->contents[i]) != Lisp_Symbol
-		&& Fkeymapp (XVECTOR (elt)->contents[i]))
+		&& ! NILP (Fkeymapp (XVECTOR (elt)->contents[i])))
 	      XVECTOR (elt)->contents[i] =
 		Fcopy_keymap (XVECTOR (elt)->contents[i]);
 	}