]> git.eshelyaron.com Git - emacs.git/commitdiff
mouse-sel.el: Fix mouse-sel-get-selection-function
authorJohan Bockgård <bojohan@gnu.org>
Sun, 12 Apr 2015 13:55:32 +0000 (15:55 +0200)
committerJohan Bockgård <bojohan@gnu.org>
Sun, 12 Apr 2015 13:55:32 +0000 (15:55 +0200)
* 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.

lisp/obsolete/mouse-sel.el

index 25eb3e66a6516fa672d8dd88de76afe6ce0b8159..fcadedf62626a0fec939f8c8997e7a21924f66ff 100644 (file)
@@ -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: