diff options
| author | Karl Heuer | 1995-06-09 00:52:18 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-06-09 00:52:18 +0000 |
| commit | a63d64fb53ca8a56406b90c9ac526eb97e20ab7d (patch) | |
| tree | 7771a1a1fa7cd861b1c580db5944a39eb89ebd4d /src | |
| parent | 34acc8e6e51c4711574b84400aee8311b0bb3fb9 (diff) | |
| download | emacs-a63d64fb53ca8a56406b90c9ac526eb97e20ab7d.tar.gz emacs-a63d64fb53ca8a56406b90c9ac526eb97e20ab7d.zip | |
(read_key_sequence): Don't run activate-menubar-hook
or call recompute-lucid-menubar.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 5556e3d18be..78fcb6743ce 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -5407,13 +5407,6 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, | |||
| 5407 | { | 5407 | { |
| 5408 | if (t + 1 >= bufsize) | 5408 | if (t + 1 >= bufsize) |
| 5409 | error ("key sequence too long"); | 5409 | error ("key sequence too long"); |
| 5410 | /* Run the Lucid hook. */ | ||
| 5411 | if (!NILP (Vrun_hooks)) | ||
| 5412 | call1 (Vrun_hooks, Qactivate_menubar_hook); | ||
| 5413 | /* If it has changed current-menubar from previous value, | ||
| 5414 | really recompute the menubar from the value. */ | ||
| 5415 | if (! NILP (Vlucid_menu_bar_dirty_flag)) | ||
| 5416 | call0 (Qrecompute_lucid_menubar); | ||
| 5417 | keybuf[t] = posn; | 5410 | keybuf[t] = posn; |
| 5418 | keybuf[t+1] = key; | 5411 | keybuf[t+1] = key; |
| 5419 | 5412 | ||