Mercurial > emacs
changeset 24971:e69a77b61b45
(kill-paragraph, backward-kill-paragraph, kill-sentence)
(backward-kill-sentence): Add * to interactive spec.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 20 Jul 1999 15:56:11 +0000 |
parents | 3796fd32e28d |
children | ff8ffbbc63e8 |
files | lisp/textmodes/paragraphs.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el Tue Jul 20 15:53:45 1999 +0000 +++ b/lisp/textmodes/paragraphs.el Tue Jul 20 15:56:11 1999 +0000 @@ -315,14 +315,14 @@ "Kill forward to end of paragraph. With arg N, kill forward to Nth end of paragraph; negative arg -N means kill backward to Nth start of paragraph." - (interactive "p") + (interactive "*p") (kill-region (point) (progn (forward-paragraph arg) (point)))) (defun backward-kill-paragraph (arg) "Kill back to start of paragraph. With arg N, kill back to Nth start of paragraph; negative arg -N means kill forward to Nth end of paragraph." - (interactive "p") + (interactive "*p") (kill-region (point) (progn (backward-paragraph arg) (point)))) (defun transpose-paragraphs (arg) @@ -386,13 +386,13 @@ (defun kill-sentence (&optional arg) "Kill from point to end of sentence. With arg, repeat; negative arg -N means kill back to Nth start of sentence." - (interactive "p") + (interactive "*p") (kill-region (point) (progn (forward-sentence arg) (point)))) (defun backward-kill-sentence (&optional arg) "Kill back from point to start of sentence. With arg, repeat, or kill forward to Nth end of sentence if negative arg -N." - (interactive "p") + (interactive "*p") (kill-region (point) (progn (backward-sentence arg) (point)))) (defun mark-end-of-sentence (arg)