summaryrefslogtreecommitdiff
path: root/lisp/obsolete
diff options
context:
space:
mode:
authorJohan Bockgård <bojohan@gnu.org>2015-04-12 15:55:32 +0200
committerJohan Bockgård <bojohan@gnu.org>2015-04-12 15:55:32 +0200
commitbda8469be55134d617f6a5409634758842fef15f (patch)
tree1a3571dc3f982a723fb1fb68ece97103efcb1f8f /lisp/obsolete
parenta77540e77425cf51cc63de48eb12b27f4dea71e2 (diff)
mouse-sel.el: Fix mouse-sel-get-selection-function
* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function): Use gui--last-selected-text-primary instead of no longer existing gui-last-selected-text.
Diffstat (limited to 'lisp/obsolete')
-rw-r--r--lisp/obsolete/mouse-sel.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obsolete/mouse-sel.el b/lisp/obsolete/mouse-sel.el
index 25eb3e66a65..fcadedf6262 100644
--- a/lisp/obsolete/mouse-sel.el
+++ b/lisp/obsolete/mouse-sel.el
@@ -314,7 +314,7 @@ is `interprogram-cut-paste'.")
(if (eq selection 'PRIMARY)
(or (gui-selection-value)
(bound-and-true-p x-last-selected-text-primary)
- gui-last-selected-text)
+ gui--last-selected-text-primary)
(x-get-selection selection)))
"Function to call to get the selection.
Called with one argument: