changeset 87400:f5538ebc9577

(org-region-active-p): Use `use-region-p'.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Dec 2007 22:45:55 +0000
parents 16b2c36a354d
children 5c852af4e53c
files lisp/textmodes/org.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Tue Dec 25 22:45:27 2007 +0000
+++ b/lisp/textmodes/org.el	Tue Dec 25 22:45:55 2007 +0000
@@ -4495,8 +4495,8 @@
   (if org-ignore-region
       nil
     (if (featurep 'xemacs)
-	(and zmacs-regions (region-active-p))
-      (and transient-mark-mode mark-active))))
+	(region-active-p)
+      (use-region-p))))
 
 ;; Invisibility compatibility