Commit 7b990caf authored by Richard M. Stallman's avatar Richard M. Stallman

(mouse-sel-lost-selection-hook): Undo prev change.

parent 0d199f9c
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment