]> code.delx.au - gnu-emacs/blobdiff - lisp/obsolete/mouse-sel.el
Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace
[gnu-emacs] / lisp / obsolete / mouse-sel.el
index 837aefb8b7f0af9960678a56dc930f36b8e5c481..b4fd7615e18ee77a5af0272c34c018e68781ef37 100644 (file)
@@ -1,6 +1,6 @@
 ;;; mouse-sel.el --- multi-click selection support
 
-;; Copyright (C) 1993-1995, 2001-2014 Free Software Foundation, Inc.
+;; Copyright (C) 1993-1995, 2001-2016 Free Software Foundation, Inc.
 
 ;; Author: Mike Williams <mdub@bigfoot.com>
 ;; Keywords: mouse
@@ -314,8 +314,8 @@ 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)
-      (x-get-selection selection)))
+            gui--last-selected-text-primary)
+      (gui-get-selection selection)))
   "Function to call to get the selection.
 Called with one argument: