Is there a way to <snip>
If `mark-paragraph' doesn't do it for you, try `copy-paragraph', below.
(defun copy-paragraph ()
"Save body of current paragraph to kill ring."
(interactive)
(save-excursion
(let ((beg (progn (forward-paragraph -1)
(point)))
(end (progn (forward-paragraph 1)
(point))))
(kill-ring-save beg end))))
,---- M-x apropos
| forward-paragraph
| Command: Move forward to end of paragraph.
| [...]
| mark-paragraph
| Command: Put point at beginning of this paragraph, mark at end.
`----> use it
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs