diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-11-14 22:57:02 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-11-14 22:57:02 +0000 |
commit | b3cdadfb3f5c6026b94483668b0bbf505018f2c6 (patch) | |
tree | 6fcb9fe7362091e34c2e8ac55fccd7c9f5aba60b /lisp/mouse-sel.el | |
parent | 0c7c632f12f4e731e57c8bf80ed67fc2b575a23a (diff) | |
download | emacs-b3cdadfb3f5c6026b94483668b0bbf505018f2c6.tar.gz |
(mouse-sel-lost-selection-hook): Use (car selection).
Diffstat (limited to 'lisp/mouse-sel.el')
-rw-r--r-- | lisp/mouse-sel.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el index fe557ee755e..93c59a9b633 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 selection))) + (let ((overlay (mouse-sel-selection-overlay (car selection)))) (delete-overlay overlay))) (add-hook 'x-lost-selection-hooks 'mouse-sel-lost-selection-hook) |