1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(backward-kill-sentence): Work in read-only buffers.

(kill-sentence): Work in read-only buffers.
This commit is contained in:
Richard M. Stallman 1994-09-28 04:46:02 +00:00
parent 0cabaf3108
commit b0e1e38fa9

View File

@ -224,13 +224,13 @@ See `forward-sentence' for more information."
(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)