From: Richard M. Stallman Date: Sat, 17 Jun 1995 23:53:23 +0000 (+0000) Subject: Call precompute-menubar-bindings. X-Git-Tag: emacs-19.34~3560 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5263a5cfc5cb6f1ae2b8c32593e1d7c7e07d2f3;p=emacs.git Call precompute-menubar-bindings. Then set define-key-rebound-commands to nil. --- diff --git a/lisp/loadup.el b/lisp/loadup.el index efa7816bf2f..5bf901bce04 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -140,6 +140,12 @@ (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")