summaryrefslogtreecommitdiff
path: root/lisp/mouse-sel.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-15 18:32:38 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-15 18:32:38 +0000
commit418ac55537f2bf115e86a334528261fb60adf735 (patch)
treec45b3dcc69ff0b706aa1b6cba40cc4df02dd6289 /lisp/mouse-sel.el
parentb5b5fbd999733a8cbcfa6aa5722e4202a0446460 (diff)
downloademacs-418ac55537f2bf115e86a334528261fb60adf735.tar.gz
(mouse-sel-lost-selection-hook): Undo prev change.
Diffstat (limited to 'lisp/mouse-sel.el')
-rw-r--r--lisp/mouse-sel.el2
1 files changed, 1 insertions, 1 deletions
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)