Fix speedkeys to move subtrees up and down

* lisp/org.el (org-speed-commands-default): Bind "U" and "D" to
`org-metaup' and `org-metadown'.

Org speed keys were not updated to reflect the recent changes to
org-shiftmetaup and org-shiftmetadown.  As a result the default
bindings for speedkeys "U" and "D" were destructive, since they moved
only single lines.  Binding them to org-metaup and org-metadown fixes
the problem.

Thanks to Marco Wahl for reporting the problem:
http://permalink.gmane.org/gmane.emacs.orgmode/87873
This commit is contained in:
Matt Lundin 2014-06-23 09:17:54 -05:00 committed by Bastien Guerry
parent 69773248c5
commit 4a4dbe16d8
1 changed files with 2 additions and 2 deletions

View File

@ -19523,8 +19523,8 @@ boundaries."
("s" . org-narrow-to-subtree) ("s" . org-narrow-to-subtree)
("=" . org-columns) ("=" . org-columns)
("Outline Structure Editing") ("Outline Structure Editing")
("U" . org-shiftmetaup) ("U" . org-metaup)
("D" . org-shiftmetadown) ("D" . org-metadown)
("r" . org-metaright) ("r" . org-metaright)
("l" . org-metaleft) ("l" . org-metaleft)
("R" . org-shiftmetaright) ("R" . org-shiftmetaright)