1
Fork 0
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:
Andreas Schwab 2003-01-12 20:46:51 +00:00
parent 96473b342d
commit 9103eeef65

View file

@ -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