Function: org-shiftmetaleft
org-shiftmetaleft is an interactive and byte-compiled function defined
in org.el.gz.
Signature
(org-shiftmetaleft)
Documentation
Promote subtree or delete table column.
Calls org-promote-subtree, org-outdent-item-tree, or
org-table-delete-column, depending on context. See the
individual commands for more information.
This function runs the functions in org-shiftmetaleft-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 also runs org-shiftmetaleft-final-hook using the
same logic.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-shiftmetaleft ()
"Promote subtree or delete table column.
Calls `org-promote-subtree', `org-outdent-item-tree', or
`org-table-delete-column', depending on context. See the
individual commands for more information.
This function runs the functions in `org-shiftmetaleft-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 also runs `org-shiftmetaleft-final-hook' using the
same logic."
(interactive)
(cond
((and (eq system-type 'darwin)
(or (eq org-support-shift-select 'always)
(and org-support-shift-select (org-region-active-p))))
(org-call-for-shift-select 'backward-char))
((run-hook-with-args-until-success 'org-shiftmetaleft-hook))
((org-at-table-p) (call-interactively 'org-table-delete-column))
((org-at-heading-p) (call-interactively 'org-promote-subtree))
((if (not (org-region-active-p)) (org-at-item-p)
(save-excursion (goto-char (region-beginning))
(org-at-item-p)))
(call-interactively 'org-outdent-item-tree))
((run-hook-with-args-until-success 'org-shiftmetaleft-final-hook))
(t (org-modifier-cursor-error))))