* lisp/simple.el (handle-shift-selection, exchange-point-and-mark)
[bpt/emacs.git] / lisp / org / org-compat.el
index e5d6a49..c3ccf06 100644 (file)
@@ -295,7 +295,7 @@ Works on both Emacs and XEmacs."
       (setq mark-active t)
       (when (and (boundp 'transient-mark-mode)
                 (not transient-mark-mode))
-       (setq transient-mark-mode 'lambda))
+       (set (make-local-variable 'transient-mark-mode) 'lambda))
       (when (boundp 'zmacs-regions)
        (setq zmacs-regions t)))))