diff options
| author | Richard M. Stallman | 1995-06-17 23:53:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-17 23:53:23 +0000 |
| commit | f5263a5cfc5cb6f1ae2b8c32593e1d7c7e07d2f3 (patch) | |
| tree | 1ceaadd1408a3c75bc1481b95c06103faaf10b2b | |
| parent | 8fbc986d8696b048df9984593ea9e19ec2415ca7 (diff) | |
| download | emacs-f5263a5cfc5cb6f1ae2b8c32593e1d7c7e07d2f3.tar.gz emacs-f5263a5cfc5cb6f1ae2b8c32593e1d7c7e07d2f3.zip | |
Call precompute-menubar-bindings.
Then set define-key-rebound-commands to nil.
| -rw-r--r-- | lisp/loadup.el | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
| 140 | (if (load "site-load" t) | 140 | (if (load "site-load" t) |
| 141 | (garbage-collect)) | 141 | (garbage-collect)) |
| 142 | 142 | ||
| 143 | (if (fboundp 'x-popup-menu) | ||
| 144 | (precompute-menubar-bindings)) | ||
| 145 | ;; Turn on recording of which commands get rebound, | ||
| 146 | ;; for the sake of the next call to precompute-menubar-bindings. | ||
| 147 | (setq define-key-rebound-commands nil) | ||
| 148 | |||
| 143 | ;; Determine which last version number to use | 149 | ;; Determine which last version number to use |
| 144 | ;; based on the executables that now exist. | 150 | ;; based on the executables that now exist. |
| 145 | (if (and (or (equal (nth 3 command-line-args) "dump") | 151 | (if (and (or (equal (nth 3 command-line-args) "dump") |