]> git.eshelyaron.com Git - emacs.git/commitdiff
(org-region-active-p): Use `use-region-p'.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 Dec 2007 22:45:55 +0000 (22:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 Dec 2007 22:45:55 +0000 (22:45 +0000)
lisp/textmodes/org.el

index ebcf060be65aeb250d448824e18f01e0268b867a..c7db3c0c34ab8180b64c71943bc22d047af9a323 100644 (file)
@@ -4495,8 +4495,8 @@ Works on both Emacs and XEmacs."
   (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