Function: blackbox-redefine-key
blackbox-redefine-key is a byte-compiled function defined in
blackbox.el.gz.
Signature
(blackbox-redefine-key MAP OLDFUN NEWFUN)
Documentation
Redefine keys that run the function OLDFUN to run NEWFUN instead.
Source Code
;; Defined in /usr/src/emacs/lisp/play/blackbox.el.gz
;; This is used below to remap existing bindings for cursor motion to
;; blackbox-specific bindings in blackbox-mode-map. This is so that
;; users who prefer non-default key bindings for cursor motion don't
;; lose that when they play Blackbox.
(defun blackbox-redefine-key (map oldfun newfun)
"Redefine keys that run the function OLDFUN to run NEWFUN instead."
(define-key map (vector 'remap oldfun) newfun))