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
	    (forward-line 1)
	    (transpose-lines 1)
	    (forward-line -1))
	(transpose-lines 1)
	(forward-line -2))
      (org-move-to-column c))))