diff options
| author | Andreas Schwab | 2003-01-12 20:46:51 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2003-01-12 20:46:51 +0000 |
| commit | 9103eeef654261f3f01a41a2f7c46bfa8435caba (patch) | |
| tree | 9ec5fe131c93164b4f67c366b90286a6397f3daa | |
| parent | 96473b342d379f6a7c69b82d0c443d223cd7f817 (diff) | |
| download | emacs-9103eeef654261f3f01a41a2f7c46bfa8435caba.tar.gz emacs-9103eeef654261f3f01a41a2f7c46bfa8435caba.zip | |
(msb-mode-map): Use command remapping instead of substitute-key-definition.
| -rw-r--r-- | lisp/msb.el | 4 |
1 files 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 @@ | |||
| 1 | ;;; msb.el --- customizable buffer-selection with multiple menus | 1 | ;;; msb.el --- customizable buffer-selection with multiple menus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 94, 95, 97, 98, 99, 2000, 2001 | 3 | ;; Copyright (C) 1993, 94, 95, 97, 98, 99, 2000, 2001, 2003 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Lars Lindberg <lars.lindberg@home.se> | 6 | ;; Author: Lars Lindberg <lars.lindberg@home.se> |
| @@ -1132,7 +1132,7 @@ variable `msb-menu-cond'." | |||
| 1132 | ;; C-down-mouse-1). | 1132 | ;; C-down-mouse-1). |
| 1133 | (defvar msb-mode-map | 1133 | (defvar msb-mode-map |
| 1134 | (let ((map (make-sparse-keymap "Msb"))) | 1134 | (let ((map (make-sparse-keymap "Msb"))) |
| 1135 | (substitute-key-definition 'mouse-buffer-menu 'msb map global-map) | 1135 | (define-key map [remap mouse-buffer-menu] 'msb) |
| 1136 | map)) | 1136 | map)) |
| 1137 | 1137 | ||
| 1138 | ;;;###autoload | 1138 | ;;;###autoload |