aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-10-21 17:01:53 +0000
committerChong Yidong2008-10-21 17:01:53 +0000
commitc6f3e207056906eaa33899965891fee5d2c3540d (patch)
tree08551e53dc3a91d07e106712dfe66d117719e58f
parent5ab6aa6d19d2b8803c9285893c45c26aab675837 (diff)
downloademacs-c6f3e207056906eaa33899965891fee5d2c3540d.tar.gz
emacs-c6f3e207056906eaa33899965891fee5d2c3540d.zip
(region-active-p): Doc fix.
-rw-r--r--lisp/simple.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 7327a88c362..7cd321564d9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3515,9 +3515,9 @@ This function also obeys `use-empty-active-region'."
3515 3515
3516(defun region-active-p () 3516(defun region-active-p ()
3517 "Return t if Transient Mark mode is enabled and the mark is active. 3517 "Return t if Transient Mark mode is enabled and the mark is active.
3518This is NOT the best function to use to test whether a command should 3518To test whether a command should operate on the region instead of
3519operate on the region instead of the usual behavior -- for that, 3519the usual behavior, use `use-region-p' instead. That returns nil
3520use `use-region-p'." 3520for empty regions when `use-empty-active-region' is nil."
3521 (and transient-mark-mode mark-active)) 3521 (and transient-mark-mode mark-active))
3522 3522
3523(defvar mark-ring nil 3523(defvar mark-ring nil