]> code.delx.au - gnu-emacs/blobdiff - lisp/mouse-copy.el
Merge branch 'master' into cairo
[gnu-emacs] / lisp / mouse-copy.el
index 609713ce5fde4b794c9c70dae1bd692e698857e0..d3c3c80fd99d1a2758a444419da8594653b78d4f 100644 (file)
@@ -177,7 +177,7 @@ put the point at one place, then click and drag over some other region."
            (mouse-copy-work-around-drag-bug start-event last-input-event))
        ;; Remember what we do so we can undo it, if necessary.
        (setq mouse-copy-last-paste-start (point))
-       (insert (x-get-selection 'SECONDARY))
+       (insert (gui-get-selection 'SECONDARY))
        (setq mouse-copy-last-paste-end (point)))
     (setq mouse-copy-last-paste-start nil)))
 
@@ -216,7 +216,7 @@ by johnh@ficus.cs.ucla.edu."
   (if (mouse-drag-secondary start-event)
       (progn
        (mouse-kill-preserving-secondary)
-       (insert (x-get-selection 'SECONDARY))))
+       (insert (gui-get-selection 'SECONDARY))))
 )
 
 (provide 'mouse-copy)