Browse Source

org.el: Remap `outline-promote' and `outline-demote' keys.

* org.el: Remap `outline-promote' and `outline-demote' keys to
`org-promote-subtree' and `org-demote-subtree'.

Thanks to Michael Brand for the suggestion.
Bastien Guerry 6 years ago
parent
commit
b2632dc458
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lisp/org.el

+ 4 - 0
lisp/org.el

@@ -16980,6 +16980,10 @@ BEG and END default to the buffer boundaries."
 
 ;;;; Key bindings
 
+;; Remap outline keys
+(define-key org-mode-map [remap outline-promote] 'org-promote-subtree)
+(define-key org-mode-map [remap outline-demote] 'org-demote-subtree)
+
 ;; Make `C-c C-x' a prefix key
 (org-defkey org-mode-map "\C-c\C-x" (make-sparse-keymap))