Function: org-remap

org-remap is a byte-compiled function defined in org-keys.el.gz.

Signature

(org-remap MAP &rest COMMANDS)

Documentation

In MAP, remap the functions given in COMMANDS.

COMMANDS is a list of alternating OLDDEF NEWDEF command names.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-keys.el.gz
(defun org-remap (map &rest commands)
  "In MAP, remap the functions given in COMMANDS.
COMMANDS is a list of alternating OLDDEF NEWDEF command names."
  (let (new old)
    (while commands
      (setq old (pop commands) new (pop commands))
      (org-defkey map (vector 'remap old) new))))