From 7b990caf7e39cfbd1cda6e71075ad28b2ca3d312 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 15 Nov 1995 18:32:38 +0000 Subject: [PATCH] (mouse-sel-lost-selection-hook): Undo prev change. --- lisp/mouse-sel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el index 93c59a9b633..fe557ee755e 100644 --- a/lisp/mouse-sel.el +++ b/lisp/mouse-sel.el @@ -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) -- 2.39.2