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
33f5d4c1
Commit
33f5d4c1
authored
Dec 18, 2013
by
Chong Yidong
Browse files
* simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
parent
9cdb8d85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/simple.el
lisp/simple.el
+11
-1
No files found.
lisp/ChangeLog
View file @
33f5d4c1
2013-12-18 Chong Yidong <cyd@gnu.org>
* simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2013-12-18 Glenn Morris <rgm@gnu.org>
* mail/emacsbug.el (report-emacs-bug):
...
...
lisp/simple.el
View file @
33f5d4c1
...
...
@@ -3764,7 +3764,17 @@ of this sample text; it defaults to 40."
(
buffer-substring-no-properties
mark
(
+
mark
len
))))))))
(
defun
append-next-kill
(
&optional
interactive
)
"Cause following command, if it kills, to append to previous kill.
"Cause following command, if it kills, to add to previous kill.
If the next command kills forward from point, the kill is
appended to the previous killed text. If the command kills
backward, the kill is prepended. Kill commands that act on the
region, such as `kill-region', are regarded as killing forward if
point is after mark, and killing backward if point is before
mark.
If the next command is not a kill command, `append-next-kill' has
no effect.
The argument is used for internal purposes; do not supply one."
(
interactive
"p"
)
;; We don't use (interactive-p), since that breaks kbd macros.
...
...
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