mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(edt-default-emulation-setup): Share global-buffers-menu-map with the
emulated global map.
This commit is contained in:
parent
aa0585b0c2
commit
6bfebcda22
@ -2230,7 +2230,11 @@ Optional argument USER-SETUP non-nil means called from function
|
|||||||
(fset 'edt-emulation-on (symbol-function 'edt-select-user-global-map)))
|
(fset 'edt-emulation-on (symbol-function 'edt-select-user-global-map)))
|
||||||
(progn
|
(progn
|
||||||
(fset 'edt-emulation-on (symbol-function 'edt-select-default-global-map))
|
(fset 'edt-emulation-on (symbol-function 'edt-select-default-global-map))
|
||||||
(edt-select-default-global-map))))
|
(edt-select-default-global-map)))
|
||||||
|
;; We need to share `global-buffers-menu-map' with the saved global
|
||||||
|
;; keymap, because `menu-bar-update-buffers' directly changes it.
|
||||||
|
(define-key (current-global-map) [menu-bar buffer]
|
||||||
|
(cons "Buffers" global-buffers-menu-map)))
|
||||||
|
|
||||||
(defun edt-user-emulation-setup ()
|
(defun edt-user-emulation-setup ()
|
||||||
"Setup user custom emulation of DEC's EDT editor."
|
"Setup user custom emulation of DEC's EDT editor."
|
||||||
|
Loading…
Reference in New Issue
Block a user