mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:37:50 +00:00
org.el: Assume `command-remapping' is defined.
* lisp/org.el (org-remap): Assume `command-remapping' is defined. It was added to emacs in 2003.
This commit is contained in:
parent
d00d44d6ff
commit
7b930dd201
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue