(dired-copy-filename-as-kill): Call kill-append if following a kill command.

This commit is contained in:
Richard M. Stallman 2002-01-07 05:31:29 +00:00
parent ea127bf417
commit 4de547e4a7
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2002-01-07 Richard M. Stallman <rms@gnu.org>
* dired.el (dired-copy-filename-as-kill): Call kill-append
if following a kill command.
* help-fns.el (describe-variable, describe-function):
Do save-excursion.

View file

@ -1615,7 +1615,9 @@ You can then feed the file name(s) to other commands with \\[yank]."
(dired-get-marked-files t)))
(dired-get-marked-files 'no-dir))
" "))))
(kill-new string)
(if (eq last-command 'kill-region)
(kill-append string nil)
(kill-new string))
(message "%s" string)))