[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/delsel.el,v
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/delsel.el,v |
Date: |
Tue, 21 Aug 2007 20:04:51 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Juri Linkov <jurta> 07/08/21 20:04:51
Index: delsel.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/delsel.el,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- delsel.el 26 Jul 2007 05:26:20 -0000 1.40
+++ delsel.el 21 Aug 2007 20:04:51 -0000 1.41
@@ -89,14 +89,11 @@
((eq type 'yank)
;; Before a yank command, make sure we don't yank the
;; head of the kill-ring that really comes from the
- ;; currently active region we are going to delete
- ;; (when last-command is one that uses copy-region-as-kill
- ;; or kill-new). That would make yank a no-op.
+ ;; currently active region we are going to delete.
+ ;; That would make yank a no-op.
(when (and (string= (buffer-substring-no-properties (point)
(mark))
(car kill-ring))
- (memq last-command
- '(mouse-set-region mouse-drag-region
- mouse-save-then-kill
mouse-secondary-save-then-kill)))
+ (mouse-region-match))
(current-kill 1))
(delete-active-region))
((eq type 'supersede)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/delsel.el,v,
Juri Linkov <=