diff src/keymap.c @ 32992:8d46095169e8

* undo.c (record_delete): Check that last_undo_buffer is really a buffer before applying XBUFFER to it. * keymap.c (where_is_internal): Pass lisp object, not integer, to Faref.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 27 Oct 2000 23:01:20 +0000
parents c3435dc00ed7
children 09d0a988515c
line wrap: on
line diff
--- a/src/keymap.c	Fri Oct 27 22:59:52 2000 +0000
+++ b/src/keymap.c	Fri Oct 27 23:01:20 2000 +0000
@@ -2108,7 +2108,7 @@
       if (nomenus && XINT (last) >= 0)
 	{ /* If no menu entries should be returned, skip over the
 	     keymaps bound to `menu-bar' and `tool-bar'.  */
-	  Lisp_Object tem = Faref (this, 0);
+	  Lisp_Object tem = Faref (this, make_number (0));
 	  if (EQ (tem, Qmenu_bar) || EQ (tem, Qtool_bar))
 	    continue;
 	}