aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1998-06-22 17:34:59 +0000
committerKarl Heuer1998-06-22 17:34:59 +0000
commit44e553a3fc5c78cfd4a0e9b36a605926eaf68499 (patch)
tree9f290d46881f127e348cbb7bef571f6d2eadfc35 /src
parentd74347bc384c7e97496546df37f0c0e972fef674 (diff)
downloademacs-44e553a3fc5c78cfd4a0e9b36a605926eaf68499.tar.gz
emacs-44e553a3fc5c78cfd4a0e9b36a605926eaf68499.zip
(menu_item_eval_property): Bind Qinhibit_redisplay.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index fee59e3af95..9db0bca9683 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5624,10 +5624,12 @@ static Lisp_Object
5624menu_item_eval_property (sexpr) 5624menu_item_eval_property (sexpr)
5625 Lisp_Object sexpr; 5625 Lisp_Object sexpr;
5626{ 5626{
5627 int count = specpdl_ptr - specpdl;
5627 Lisp_Object val; 5628 Lisp_Object val;
5629 specbind (Qinhibit_redisplay, Qt);
5628 val = internal_condition_case_1 (Feval, sexpr, Qerror, 5630 val = internal_condition_case_1 (Feval, sexpr, Qerror,
5629 menu_item_eval_property_1); 5631 menu_item_eval_property_1);
5630 return val; 5632 return unbind_to (count, val);
5631} 5633}
5632 5634
5633/* This function parses a menu item and leaves the result in the 5635/* This function parses a menu item and leaves the result in the