emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bda8469: mouse-sel.el: Fix mouse-sel-get-selection-


From: Johan Bockgard
Subject: [Emacs-diffs] master bda8469: mouse-sel.el: Fix mouse-sel-get-selection-function
Date: Sun, 12 Apr 2015 13:56:10 +0000

branch: master
commit bda8469be55134d617f6a5409634758842fef15f
Author: Johan Bockgård <address@hidden>
Commit: Johan Bockgård <address@hidden>

    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.
---
 lisp/obsolete/mouse-sel.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/obsolete/mouse-sel.el b/lisp/obsolete/mouse-sel.el
index 25eb3e6..fcadedf 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:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]