Mercurial > emacs
diff lisp/simple.el @ 103952:c59b9da550fc
* simple.el (set-mark): Revert last change.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 18 Jul 2009 04:37:52 +0000 |
parents | 37177e1f2fcb |
children | 8f1c96160773 |
line wrap: on
line diff
--- a/lisp/simple.el Sat Jul 18 02:22:57 2009 +0000 +++ b/lisp/simple.el Sat Jul 18 04:37:52 2009 +0000 @@ -3534,12 +3534,8 @@ (progn (setq mark-active t) (run-hooks 'activate-mark-hook) - (and select-active-regions - ;; Only set the selection if we already own PRIMARY. The - ;; initial selection grab happens in `activate-mark', but - ;; it is necessary to update it here. - (x-selection-owner-p 'PRIMARY) - (x-set-selection 'PRIMARY (current-buffer))) + (when select-active-regions + (x-set-selection 'PRIMARY (current-buffer))) (set-marker (mark-marker) pos (current-buffer))) ;; Normally we never clear mark-active except in Transient Mark mode. ;; But when we actually clear out the mark value too, we must