diff options
| author | Richard M. Stallman | 2007-12-25 23:00:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-12-25 23:00:51 +0000 |
| commit | afa39f21c8d27bed08525ee0ed23692f12d2b3e2 (patch) | |
| tree | 222ccc7fd86e1ad53cce823984c541ef69a08e43 | |
| parent | c60d543d8bb6468ba0b652d9923acd17d2087233 (diff) | |
| download | emacs-afa39f21c8d27bed08525ee0ed23692f12d2b3e2.tar.gz emacs-afa39f21c8d27bed08525ee0ed23692f12d2b3e2.zip | |
(region-active-p): Doc fix.
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 0537862ab83..0cbec53fe66 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3378,7 +3378,10 @@ This function also obeys `use-empty-active-region'." | |||
| 3378 | (or use-empty-active-region (> (region-end) (region-beginning))))) | 3378 | (or use-empty-active-region (> (region-end) (region-beginning))))) |
| 3379 | 3379 | ||
| 3380 | (defun region-active-p () | 3380 | (defun region-active-p () |
| 3381 | "Return t if Transient Mark mode is enabled and the mark is active." | 3381 | "Return t if Transient Mark mode is enabled and the mark is active. |
| 3382 | This is NOT the best function to use to test whether a command should | ||
| 3383 | operate on the region instead of the usual behavior -- for that, | ||
| 3384 | use `use-region-p'." | ||
| 3382 | (and transient-mark-mode mark-active)) | 3385 | (and transient-mark-mode mark-active)) |
| 3383 | 3386 | ||
| 3384 | (defvar mark-ring nil | 3387 | (defvar mark-ring nil |