diff options
author | Glenn Morris <rgm@gnu.org> | 2015-04-28 23:32:09 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-04-28 23:40:27 -0700 |
commit | 4594f894e60a50e3b5449d762b44a6c69b1bcae6 (patch) | |
tree | c976f7af1a0a053d600066527b9f932af12b2ce5 /lisp/mouse-copy.el | |
parent | b7352cb2fa65655dbf97cb7d80ebb1f77dffc039 (diff) | |
download | emacs-4594f894e60a50e3b5449d762b44a6c69b1bcae6.tar.gz |
Replace an obsolete function alias
* lisp/isearch.el (isearch-yank-x-selection):
* lisp/mouse-copy.el (mouse-drag-secondary-pasting)
(mouse-drag-secondary-moving):
* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
Replace obsolete alias x-get-selection with gui-get-selection.
Diffstat (limited to 'lisp/mouse-copy.el')
-rw-r--r-- | lisp/mouse-copy.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mouse-copy.el b/lisp/mouse-copy.el index 609713ce5fd..d3c3c80fd99 100644 --- a/lisp/mouse-copy.el +++ b/lisp/mouse-copy.el @@ -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) |