changeset 22469:516ef6b2ceb9

(parse_menu_item): Put a quote around DEF to pass it as an argument to the filter function.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Jun 1998 05:27:47 +0000
parents 9c7650b90c06
children eec1f722bded
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Jun 13 05:04:42 1998 +0000
+++ b/src/keyboard.c	Sat Jun 13 05:27:47 1998 +0000
@@ -5801,8 +5801,9 @@
   def = XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF];
   if (!NILP (filter))
     {
-      def = menu_item_eval_property (Fcons (XCONS (filter)->car,
-					    Fcons (def, Qnil)));
+      def = menu_item_eval_property (list2 (XCONS (filter)->car,
+					    list2 (Qquote, def)));
+
       XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF] = def;
     }