summaryrefslogtreecommitdiff
path: root/lisp/obsolete/iswitchb.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-12-14 12:35:57 +0100
committerStefan Kangas <stefan@marxist.se>2021-12-14 16:10:54 +0100
commit8704165197d987bc91bce336a73d23fc45669fa3 (patch)
tree89c19280b29fdb478d29bbde081adab67d9346f0 /lisp/obsolete/iswitchb.el
parent78a9d151b5c53ddcd1408e0ab38b1a53d58fad85 (diff)
downloademacs-8704165197d987bc91bce336a73d23fc45669fa3.tar.gz
Remove Emacs 21 compat code for command-remapping
* lisp/arc-mode.el (archive-mode-map): * lisp/obsolete/iswitchb.el (iswitchb-global-map): Remove Emacs 21 compat code.
Diffstat (limited to 'lisp/obsolete/iswitchb.el')
-rw-r--r--lisp/obsolete/iswitchb.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el
index 807f5485d5f..f1e4414e93f 100644
--- a/lisp/obsolete/iswitchb.el
+++ b/lisp/obsolete/iswitchb.el
@@ -467,9 +467,7 @@ interfere with other minibuffer usage.")
(switch-to-buffer-other-window . iswitchb-buffer-other-window)
(switch-to-buffer-other-frame . iswitchb-buffer-other-frame)
(display-buffer . iswitchb-display-buffer)))
- (if (fboundp 'command-remapping)
- (define-key map (vector 'remap (car b)) (cdr b))
- (substitute-key-definition (car b) (cdr b) map global-map)))
+ (define-key map (vector 'remap (car b)) (cdr b)))
map)
"Global keymap for `iswitchb-mode'.")