forked from mirrors/org-mode
org.el (org-mode-map): Use org-remap' instead of binding
M-t'
* org.el (org-mode-map): Use `org-remap' instead of binding `M-t' to `org-transpose-words' directly.
This commit is contained in:
parent
a0fd83976a
commit
2861bfc712
|
@ -18291,7 +18291,6 @@ BEG and END default to the buffer boundaries."
|
|||
(org-defkey narrow-map "e" 'org-narrow-to-element)
|
||||
(org-defkey org-mode-map "\C-xne" 'org-narrow-to-element))
|
||||
(org-defkey org-mode-map "\C-\M-t" 'org-transpose-element)
|
||||
(org-defkey org-mode-map "\M-t" 'org-transpose-words)
|
||||
(org-defkey org-mode-map "\M-}" 'org-forward-element)
|
||||
(org-defkey org-mode-map "\M-{" 'org-backward-element)
|
||||
(org-defkey org-mode-map "\C-c\C-^" 'org-up-element)
|
||||
|
@ -22523,6 +22522,7 @@ ones already marked."
|
|||
(interactive)
|
||||
(with-syntax-table org-syntax-table
|
||||
(call-interactively 'transpose-words)))
|
||||
(org-remap org-mode-map 'transpose-words 'org-transpose-words)
|
||||
|
||||
(defun org-transpose-element ()
|
||||
"Transpose current and previous elements, keeping blank lines between.
|
||||
|
|
Loading…
Reference in a new issue