]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-sel-lost-selection-hook): Undo prev change.
authorRichard M. Stallman <rms@gnu.org>
Wed, 15 Nov 1995 18:32:38 +0000 (18:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 15 Nov 1995 18:32:38 +0000 (18:32 +0000)
lisp/mouse-sel.el

index 93c59a9b6336c0f5d2d066eda750c17b9b874455..fe557ee755eca94aa22d21fba53595b27892bb78 100644 (file)
@@ -574,7 +574,7 @@ If `mouse-yank-at-point' is non-nil, insert at point instead."
 
 (defun mouse-sel-lost-selection-hook (selection)
   "Remove the overlay for a lost selection."
-  (let ((overlay (mouse-sel-selection-overlay (car selection))))
+  (let ((overlay (mouse-sel-selection-overlay selection)))
     (delete-overlay overlay)))
 
 (add-hook 'x-lost-selection-hooks 'mouse-sel-lost-selection-hook)