From: Richard M. Stallman Date: Tue, 25 Dec 2007 22:45:55 +0000 (+0000) Subject: (org-region-active-p): Use `use-region-p'. X-Git-Tag: emacs-pretest-23.0.90~8839 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=072aab30c924ffcc6ca3ee2d44d3235d9324d734;p=emacs.git (org-region-active-p): Use `use-region-p'. --- diff --git a/lisp/textmodes/org.el b/lisp/textmodes/org.el index ebcf060be65..c7db3c0c34a 100644 --- a/lisp/textmodes/org.el +++ b/lisp/textmodes/org.el @@ -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