Browse Source

org.el: Assume `command-remapping' is defined.

* lisp/org.el (org-remap): Assume `command-remapping' is defined.

It was added to emacs in 2003.
Aaron Ecay 8 years ago
parent
commit
7b930dd201
1 changed files with 1 additions and 3 deletions
  1. 1 3
      lisp/org.el

+ 1 - 3
lisp/org.el

@@ -20340,9 +20340,7 @@ COMMANDS is a list of alternating OLDDEF NEWDEF command names."
   (let (new old)
     (while commands
       (setq old (pop commands) new (pop commands))
-      (if (fboundp 'command-remapping)
-	  (org-defkey map (vector 'remap old) new)
-	(substitute-key-definition old new map global-map)))))
+      (org-defkey map (vector 'remap old) new))))
 
 (defun org-transpose-words ()
   "Transpose words for Org.