diff lisp/loadup.el @ 104920:566d2dc55a9d

* keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove. (parse_menu_item): Streamline since bindings are recomputed all the time anyway. Don't bother checking Vdefine_key_rebound_commands any more and don't support lmenu's menu-alias any more either. * subr.el (define-key-rebound-commands): Mark obsolete. * startup.el (precompute-menubar-bindings): Remove. (normal-top-level): Remove obsolete code that tried to precompute menubar bindings. * loadup.el (define-key-rebound-commands): Don't bother fiddling with define-key-rebound-commands and precompute-menubar-bindings.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 10 Sep 2009 18:19:03 +0000
parents c6bb32492730
children d2f068bb3cb1
line wrap: on
line diff
--- a/lisp/loadup.el	Thu Sep 10 16:47:47 2009 +0000
+++ b/lisp/loadup.el	Thu Sep 10 18:19:03 2009 +0000
@@ -233,12 +233,6 @@
 (if (load "site-load" t)
     (garbage-collect))
 
-(if (fboundp 'x-popup-menu)
-    (precompute-menubar-bindings))
-;; Turn on recording of which commands get rebound,
-;; for the sake of the next call to precompute-menubar-bindings.
-(setq define-key-rebound-commands nil)
-
 ;; Determine which last version number to use
 ;; based on the executables that now exist.
 (if (and (or (equal (nth 3 command-line-args) "dump")