]> git.eshelyaron.com Git - emacs.git/commitdiff
(mouse-sel-lost-selection-hook): Use (car selection).
authorRichard M. Stallman <rms@gnu.org>
Tue, 14 Nov 1995 22:57:02 +0000 (22:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 14 Nov 1995 22:57:02 +0000 (22:57 +0000)
lisp/mouse-sel.el

index fe557ee755eca94aa22d21fba53595b27892bb78..93c59a9b6336c0f5d2d066eda750c17b9b874455 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 selection)))
+  (let ((overlay (mouse-sel-selection-overlay (car selection))))
     (delete-overlay overlay)))
 
 (add-hook 'x-lost-selection-hooks 'mouse-sel-lost-selection-hook)