diff lisp/delsel.el @ 91040:14c4a6aac623

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 866-879) - Merge multi-tty branch - Update from CVS - Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
author Miles Bader <miles@gnu.org>
date Thu, 11 Oct 2007 16:14:00 +0000
parents b83d0dadb2a7 6ae29c2dfff0
children 880960b70474
line wrap: on
line diff
--- a/lisp/delsel.el	Thu Oct 11 01:51:15 2007 +0000
+++ b/lisp/delsel.el	Thu Oct 11 16:14:00 2007 +0000
@@ -93,6 +93,7 @@
 		 ;; That would make yank a no-op.
 		 (when (and (string= (buffer-substring-no-properties (point) (mark))
 				     (car kill-ring))
+			    (fboundp 'mouse-region-match)
 			    (mouse-region-match))
 		   (current-kill 1))
 		 (delete-active-region))