# HG changeset patch # User Richard M. Stallman # Date 793151769 0 # Node ID 806b3e3fd93c541f92a75acb8cd29043cfe2033a # Parent e47bb69af8032366b9522608bbd47793702dc0bb (mouse-buffer-menu): Don't clear selection when we kill it. diff -r e47bb69af803 -r 806b3e3fd93c lisp/mouse.el --- a/lisp/mouse.el Sat Feb 18 17:18:21 1995 +0000 +++ b/lisp/mouse.el Sat Feb 18 23:56:09 1995 +0000 @@ -1005,8 +1005,8 @@ (overlay-put mouse-secondary-overlay 'face 'secondary-selection)))) (setq mouse-save-then-kill-posn (list (car kill-ring) (point) click-posn)))) - (x-set-selection 'SECONDARY - (if (overlay-buffer mouse-secondary-overlay) + (if (overlay-buffer mouse-secondary-overlay) + (x-set-selection 'SECONDARY (buffer-substring (overlay-start mouse-secondary-overlay) (overlay-end mouse-secondary-overlay)))))))