Function: org-drag-line-forward
org-drag-line-forward is an interactive and byte-compiled function
defined in org.el.gz.
Signature
(org-drag-line-forward ARG)
Documentation
Drag the line at point ARG lines forward.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-drag-line-forward (arg)
"Drag the line at point ARG lines forward."
(interactive "p")
(dotimes (_ (abs arg))
(let ((c (current-column)))
(if (< 0 arg)
(progn
(beginning-of-line 2)
(transpose-lines 1)
(beginning-of-line 0))
(transpose-lines 1)
(beginning-of-line -1))
(org-move-to-column c))))