[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emulation/cua-base.el,v
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emulation/cua-base.el,v |
Date: |
Tue, 21 Aug 2007 20:05:05 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Juri Linkov <jurta> 07/08/21 20:05:04
Index: cua-base.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/emulation/cua-base.el,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- cua-base.el 14 Aug 2007 08:41:06 -0000 1.81
+++ cua-base.el 21 Aug 2007 20:05:04 -0000 1.82
@@ -907,14 +907,11 @@
(setq paste-lines nil))) ;; paste all
;; 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.
(if (and (string= (filter-buffer-substring (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))
(cua-delete-region)))
(cond