فهرست منبع

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 9 سال پیش
والد
کامیت
7b930dd201
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  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)
   (let (new old)
     (while commands
     (while commands
       (setq old (pop commands) new (pop 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 ()
 (defun org-transpose-words ()
   "Transpose words for Org.
   "Transpose words for Org.