aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mouse-sel.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-03-04 16:56:14 +0000
committerRichard M. Stallman <[email protected]>2004-03-04 16:56:14 +0000
commit01fce6ab8cd7f5adb089f0202529a32f9f9d2918 (patch)
tree8040592611e93578254396b8544e70390dfeda8b /lisp/mouse-sel.el
parent387f00e68d0bf41e79af10310d44a9cbd412a3c0 (diff)
Comment change.
Diffstat (limited to 'lisp/mouse-sel.el')
-rw-r--r--lisp/mouse-sel.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el
index 57c131d43c..f9b90fbfc6 100644
--- a/lisp/mouse-sel.el
+++ b/lisp/mouse-sel.el
@@ -265,6 +265,8 @@ primary selection and region."
(remove-hook 'x-lost-selection-hooks 'mouse-sel-lost-selection-hook)
(dolist (binding mouse-sel-original-bindings)
(global-set-key (car binding) (cdr binding)))
+ ;; Restore the old values of these variables,
+ ;; only if they were actually saved previously.
(if mouse-sel-has-been-enabled
(setq interprogram-cut-function
mouse-sel-original-interprogram-cut-function