aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1998-03-16 08:01:15 +0000
committerRichard M. Stallman <[email protected]>1998-03-16 08:01:15 +0000
commit5c7319b6cecffa5b099a2c265c50b5d87f26d795 (patch)
treef370102a702c30090c6341acf17ea0424cccd288 /lisp
parent1ad59104de471e09f6586f367cbba60bc2f03a93 (diff)
(copy-region-as-kill): Set deactivate-mark
instead of clearing mark-active directly.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index be60e3c8f7..42ef85aa87 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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)