From: Johan Bockgård Date: Sun, 12 Apr 2015 13:55:32 +0000 (+0200) Subject: mouse-sel.el: Fix mouse-sel-get-selection-function X-Git-Tag: emacs-25.0.90~2468 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bda8469be55134d617f6a5409634758842fef15f;p=emacs.git 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. --- 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: