Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4ea1d5dd
Commit
4ea1d5dd
authored
Jul 20, 1999
by
Dave Love
Browse files
(kill-paragraph, backward-kill-paragraph, kill-sentence)
(backward-kill-sentence): Add * to interactive spec.
parent
8371c2f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/textmodes/paragraphs.el
lisp/textmodes/paragraphs.el
+4
-4
No files found.
lisp/textmodes/paragraphs.el
View file @
4ea1d5dd
...
...
@@ -315,14 +315,14 @@ The paragraph marked is the one that contains point or follows point."
"
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 @@ 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment