Commit 5c7319b6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(copy-region-as-kill): Set deactivate-mark

instead of clearing mark-active directly.
parent 1ad59104
......@@ -1661,7 +1661,7 @@ system cut and paste."
(kill-append (buffer-substring beg end) (< end beg))
(kill-new (buffer-substring beg end)))
(if transient-mark-mode
(setq mark-active nil))
(setq deactivate-mark t))
nil)
(defun kill-ring-save (beg end)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment