diff options
| author | Chong Yidong | 2008-08-18 19:07:59 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-08-18 19:07:59 +0000 |
| commit | 252e5957ecea34661cfc575c12e6d257c1719ab2 (patch) | |
| tree | c9580e5d6d7063e1962bebe2737fcd45a4331fee | |
| parent | d2984d996c363dba777feea8e3031597cd0caee1 (diff) | |
| download | emacs-252e5957ecea34661cfc575c12e6d257c1719ab2.tar.gz emacs-252e5957ecea34661cfc575c12e6d257c1719ab2.zip | |
(edt-default-emulation-setup): Share global-buffers-menu-map with the
emulated global map.
| -rw-r--r-- | lisp/emulation/edt.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index bcfb7977191..32661b47f50 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -2211,7 +2211,11 @@ Optional argument USER-SETUP non-nil means called from function | |||
| 2211 | (fset 'edt-emulation-on (symbol-function 'edt-select-user-global-map))) | 2211 | (fset 'edt-emulation-on (symbol-function 'edt-select-user-global-map))) |
| 2212 | (progn | 2212 | (progn |
| 2213 | (fset 'edt-emulation-on (symbol-function 'edt-select-default-global-map)) | 2213 | (fset 'edt-emulation-on (symbol-function 'edt-select-default-global-map)) |
| 2214 | (edt-select-default-global-map)))) | 2214 | (edt-select-default-global-map))) |
| 2215 | ;; We need to share `global-buffers-menu-map' with the saved global | ||
| 2216 | ;; keymap, because `menu-bar-update-buffers' directly changes it. | ||
| 2217 | (define-key (current-global-map) [menu-bar buffer] | ||
| 2218 | (cons "Buffers" global-buffers-menu-map))) | ||
| 2215 | 2219 | ||
| 2216 | (defun edt-user-emulation-setup () | 2220 | (defun edt-user-emulation-setup () |
| 2217 | "Setup user custom emulation of DEC's EDT editor." | 2221 | "Setup user custom emulation of DEC's EDT editor." |