summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-02-19 13:30:31 +0000
committerGerd Moellmann <gerd@gnu.org>2001-02-19 13:30:31 +0000
commit65048e973339594bfdbdf354076af4b0071dbb22 (patch)
tree7596824656b75f44ea29057921c8f60808776c69 /src
parent950eaee7c6b0b78087d80e544053f8bc06f1eec4 (diff)
downloademacs-65048e973339594bfdbdf354076af4b0071dbb22.tar.gz
(update_menu_bar): Run activate-menu-bar-hook with
safe_run_hooks.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 69ab0fe6bdf..f1123f07a74 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
2001-02-19 Gerd Moellmann <gerd@gnu.org>
+ * xmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
+ safe_run_hooks.
+
+ * xdisp.c (update_menu_bar): Run activate-menu-bar-hook with
+ safe_run_hooks.
+
* emacs.c (malloc_initialize_hook): Handle case thet `environ'
is null.
diff --git a/src/xdisp.c b/src/xdisp.c
index 3e5dc207c36..e573069dcb1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7033,7 +7033,7 @@ update_menu_bar (f, save_match_data)
}
/* Run the Lucid hook. */
- call1 (Vrun_hooks, Qactivate_menubar_hook);
+ safe_run_hooks (Qactivate_menubar_hook);
/* If it has changed current-menubar from previous value,
really recompute the menu-bar from the value. */