aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Bockgård2015-04-12 15:55:32 +0200
committerJohan Bockgård2015-04-12 15:55:32 +0200
commitbda8469be55134d617f6a5409634758842fef15f (patch)
tree1a3571dc3f982a723fb1fb68ece97103efcb1f8f
parenta77540e77425cf51cc63de48eb12b27f4dea71e2 (diff)
downloademacs-bda8469be55134d617f6a5409634758842fef15f.tar.gz
emacs-bda8469be55134d617f6a5409634758842fef15f.zip
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.
-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'.")
314 (if (eq selection 'PRIMARY) 314 (if (eq selection 'PRIMARY)
315 (or (gui-selection-value) 315 (or (gui-selection-value)
316 (bound-and-true-p x-last-selected-text-primary) 316 (bound-and-true-p x-last-selected-text-primary)
317 gui-last-selected-text) 317 gui--last-selected-text-primary)
318 (x-get-selection selection))) 318 (x-get-selection selection)))
319 "Function to call to get the selection. 319 "Function to call to get the selection.
320Called with one argument: 320Called with one argument: