Function: org-metaleft
org-metaleft is an interactive and byte-compiled function defined in
org.el.gz.
Signature
(org-metaleft &optional ARG)
Documentation
Promote heading, list item at point or move table column left.
Calls org-do-promote, org-outdent-item or org-table-move-column,
depending on context. With no specific context, calls the Emacs
default backward-word. See the individual commands for more
information.
This function runs the functions in org-metaleft-hook one by
one as a first step, and exits immediately if a function from the
hook returns non-nil. In the absence of a specific context, the
function runs org-metaleft-final-hook using the same logic.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-metaleft (&optional _arg)
"Promote heading, list item at point or move table column left.
Calls `org-do-promote', `org-outdent-item' or `org-table-move-column',
depending on context. With no specific context, calls the Emacs
default `backward-word'. See the individual commands for more
information.
This function runs the functions in `org-metaleft-hook' one by
one as a first step, and exits immediately if a function from the
hook returns non-nil. In the absence of a specific context, the
function runs `org-metaleft-final-hook' using the same logic."
(interactive "P")
(cond
((run-hook-with-args-until-success 'org-metaleft-hook))
((org-at-table-p) (org-call-with-arg 'org-table-move-column 'left))
((org-with-limited-levels
(or (org-at-heading-p)
(and (org-region-active-p)
(save-excursion
(goto-char (region-beginning))
(org-at-heading-p)))))
(when (org-check-for-hidden 'headlines) (org-hidden-tree-error))
(call-interactively 'org-do-promote))
;; At an inline task.
((org-at-heading-p)
(call-interactively 'org-inlinetask-promote))
((or (org-at-item-p)
(and (org-region-active-p)
(save-excursion
(goto-char (region-beginning))
(org-at-item-p))))
(when (org-check-for-hidden 'items) (org-hidden-tree-error))
(call-interactively 'org-outdent-item))
((run-hook-with-args-until-success 'org-metaleft-final-hook))
(t (call-interactively 'backward-word))))