[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r111283: * simple.el (kill-region): D
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r111283: * simple.el (kill-region): Deactivate mark even for empty regions. (tiny change) |
Date: |
Fri, 21 Dec 2012 11:49:28 +0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 111283
fixes bug: http://debbugs.gnu.org/13169
author: Kelly Dean <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Fri 2012-12-21 11:49:28 +0800
message:
* simple.el (kill-region): Deactivate mark even for empty regions. (tiny
change)
modified:
lisp/ChangeLog
lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-12-21 03:37:02 +0000
+++ b/lisp/ChangeLog 2012-12-21 03:49:28 +0000
@@ -1,3 +1,8 @@
+2012-12-21 Kelly Dean <address@hidden> (tiny change)
+
+ * simple.el (kill-region): Deactivate mark even for empty regions
+ (Bug#13169).
+
2012-12-21 Chong Yidong <address@hidden>
* help-fns.el (describe-variable): Make sure we get the right
=== modified file 'lisp/simple.el'
--- a/lisp/simple.el 2012-12-10 02:00:42 +0000
+++ b/lisp/simple.el 2012-12-21 03:49:28 +0000
@@ -3370,6 +3370,7 @@
(kill-new string nil yank-handler)))
(when (or string (eq last-command 'kill-region))
(setq this-command 'kill-region))
+ (setq deactivate-mark t)
nil)
((buffer-read-only text-read-only)
;; The code above failed because the buffer, or some of the characters
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r111283: * simple.el (kill-region): Deactivate mark even for empty regions. (tiny change),
Chong Yidong <=