(parse_menu_item): Put a quote around DEF
to pass it as an argument to the filter function.
This commit is contained in:
parent
b720878d35
commit
c5c5a6f8d1
1 changed files with 3 additions and 2 deletions
|
@ -5801,8 +5801,9 @@ parse_menu_item (item, notreal, inmenubar)
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue