mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(msb-mode-map): Use command remapping instead of substitute-key-definition.
This commit is contained in:
parent
96473b342d
commit
9103eeef65
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
;;; msb.el --- customizable buffer-selection with multiple menus
|
||||
|
||||
;; Copyright (C) 1993, 94, 95, 97, 98, 99, 2000, 2001
|
||||
;; Copyright (C) 1993, 94, 95, 97, 98, 99, 2000, 2001, 2003
|
||||
;; Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Lars Lindberg <lars.lindberg@home.se>
|
||||
|
|
@ -1132,7 +1132,7 @@ variable `msb-menu-cond'."
|
|||
;; C-down-mouse-1).
|
||||
(defvar msb-mode-map
|
||||
(let ((map (make-sparse-keymap "Msb")))
|
||||
(substitute-key-definition 'mouse-buffer-menu 'msb map global-map)
|
||||
(define-key map [remap mouse-buffer-menu] 'msb)
|
||||
map))
|
||||
|
||||
;;;###autoload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue