From 9103eeef654261f3f01a41a2f7c46bfa8435caba Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 12 Jan 2003 20:46:51 +0000 Subject: [PATCH] (msb-mode-map): Use command remapping instead of substitute-key-definition. --- lisp/msb.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/msb.el b/lisp/msb.el index 2e19bb9d6d1..ab881761246 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -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 @@ -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 -- 2.39.2