diff options
| author | Chong Yidong | 2008-10-21 17:01:53 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-21 17:01:53 +0000 |
| commit | c6f3e207056906eaa33899965891fee5d2c3540d (patch) | |
| tree | 08551e53dc3a91d07e106712dfe66d117719e58f | |
| parent | 5ab6aa6d19d2b8803c9285893c45c26aab675837 (diff) | |
| download | emacs-c6f3e207056906eaa33899965891fee5d2c3540d.tar.gz emacs-c6f3e207056906eaa33899965891fee5d2c3540d.zip | |
(region-active-p): Doc fix.
| -rw-r--r-- | lisp/simple.el | 6 |
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. |
| 3518 | This is NOT the best function to use to test whether a command should | 3518 | To test whether a command should operate on the region instead of |
| 3519 | operate on the region instead of the usual behavior -- for that, | 3519 | the usual behavior, use `use-region-p' instead. That returns nil |
| 3520 | use `use-region-p'." | 3520 | for 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 |