diff options
| author | Johan Bockgård | 2015-04-12 15:55:32 +0200 |
|---|---|---|
| committer | Johan Bockgård | 2015-04-12 15:55:32 +0200 |
| commit | bda8469be55134d617f6a5409634758842fef15f (patch) | |
| tree | 1a3571dc3f982a723fb1fb68ece97103efcb1f8f | |
| parent | a77540e77425cf51cc63de48eb12b27f4dea71e2 (diff) | |
| download | emacs-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.el | 2 |
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. |
| 320 | Called with one argument: | 320 | Called with one argument: |