aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-23 07:47:27 +0000
committerRichard M. Stallman1994-05-23 07:47:27 +0000
commitfd11871ac0d99f543c943d9dc8aa63c64897e4eb (patch)
tree548aa040c5f95623333561ed81a061f5f5c1baef
parente8f9dff93bc1a0415327d6299a25ca136a833326 (diff)
downloademacs-fd11871ac0d99f543c943d9dc8aa63c64897e4eb.tar.gz
emacs-fd11871ac0d99f543c943d9dc8aa63c64897e4eb.zip
(command-line-1): Precompute menu bar before startup msg.
-rw-r--r--lisp/startup.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 2bfb5863f27..65024de31bb 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -404,6 +404,10 @@ this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.")
404 (and window-setup-hook 404 (and window-setup-hook
405 (run-hooks 'window-setup-hook)) 405 (run-hooks 'window-setup-hook))
406 (setq window-setup-hook nil) 406 (setq window-setup-hook nil)
407 ;; Do this now to avoid an annoying delay if the user
408 ;; clicks the menu bar during the sit-for.
409 (precompute-menubar-bindings)
410 (setq menubar-bindings-done t)
407 (unwind-protect 411 (unwind-protect
408 (progn 412 (progn
409 (insert (emacs-version) 413 (insert (emacs-version)
@@ -437,11 +441,6 @@ GNU Emacs comes with ABSOLUTELY NO WARRANTY; type \\[describe-no-warranty] for f
437You may give out copies of Emacs; type \\[describe-copying] to see the conditions. 441You may give out copies of Emacs; type \\[describe-copying] to see the conditions.
438Type \\[describe-distribution] for information on getting the latest version."))) 442Type \\[describe-distribution] for information on getting the latest version.")))
439 (set-buffer-modified-p nil) 443 (set-buffer-modified-p nil)
440 ;; Do this now to avoid an annoying delay if the user
441 ;; clicks the menu bar during the sit-for.
442 (sit-for 0)
443 (precompute-menubar-bindings)
444 (setq menubar-bindings-done t)
445 (sit-for 120)) 444 (sit-for 120))
446 (save-excursion 445 (save-excursion
447 ;; In case the Emacs server has already selected 446 ;; In case the Emacs server has already selected