1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

Fix indentation in copy-region-as-kill

* lisp/simple.el (copy-region-as-kill): Fix indendation.
This commit is contained in:
Lars Ingebrigtsen 2022-04-21 16:23:02 +02:00
parent 935f400a33
commit 11f66e16ac

View File

@ -5457,7 +5457,7 @@ This command's old key binding has been given to `kill-ring-save'."
(let ((str (if region
(funcall region-extract-function nil)
(filter-buffer-substring beg end))))
(if (eq last-command 'kill-region)
(if (eq last-command 'kill-region)
(kill-append str (< end beg))
(kill-new str)))
(setq deactivate-mark t)