Function: kotl-mode:transpose-lines-up

kotl-mode:transpose-lines-up is an interactive and byte-compiled function defined in kotl-orgtbl.el.

Signature

(kotl-mode:transpose-lines-up)

Documentation

Exchange current line and previous line, maintaining point location.

If no previous line, exchange current with next line.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kotl-orgtbl.el
(defun kotl-mode:transpose-lines-up ()
  "Exchange current line and previous line, maintaining point location.
If no previous line, exchange current with next line."
  (interactive)
  (let ((opoint (point)))
    (kotl-mode:transpose-lines 1)
    (goto-char opoint)))