# HG changeset patch # User Richard M. Stallman # Date 1078419374 0 # Node ID baeae7be621dcef3ff022ac4dba559bd88761b6e # Parent b647c58596357c1f40db9c11d2e6ee805bfec46f Comment change. diff -r b647c5859635 -r baeae7be621d lisp/mouse-sel.el --- a/lisp/mouse-sel.el Thu Mar 04 16:55:51 2004 +0000 +++ b/lisp/mouse-sel.el Thu Mar 04 16:56:14 2004 +0000 @@ -265,6 +265,8 @@ (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