Function: transpose-sentences
transpose-sentences is an interactive and byte-compiled function
defined in paragraphs.el.gz.
Signature
(transpose-sentences ARG)
Documentation
Interchange the current sentence with the next one.
With prefix argument ARG a non-zero integer, moves the current sentence past ARG sentences, leaving point after the current sentence. If ARG is positive, moves the current sentence forwards, if ARG is negative moves it backwards. If ARG is zero, exchanges the current sentence with the one containing the mark.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/paragraphs.el.gz
(defun transpose-sentences (arg)
"Interchange the current sentence with the next one.
With prefix argument ARG a non-zero integer, moves the current
sentence past ARG sentences, leaving point after the current sentence.
If ARG is positive, moves the current sentence forwards, if
ARG is negative moves it backwards. If ARG is zero, exchanges
the current sentence with the one containing the mark."
(interactive "*p")
(transpose-subr 'forward-sentence arg))