changeset 49168:92fb2806e140

(msb-mode-map): Use command remapping instead of substitute-key-definition.
author Andreas Schwab <schwab@suse.de>
date Sun, 12 Jan 2003 20:46:51 +0000
parents f8c302d7433b
children 755b96b5f3ca
files lisp/msb.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/msb.el	Sun Jan 12 20:46:08 2003 +0000
+++ b/lisp/msb.el	Sun Jan 12 20:46:51 2003 +0000
@@ -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 @@
 ;; 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