aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-11-27 17:07:25 +0000
committerChong Yidong2008-11-27 17:07:25 +0000
commit58b356e9b58dcfc876e6ad7824ca4fd48be0da2e (patch)
treec9bcc1d97db0f9ce51537f9c33d9e00b7dda487e
parent6a9127b65fba3f023561c4f1385c2b6dc77a8039 (diff)
downloademacs-58b356e9b58dcfc876e6ad7824ca4fd48be0da2e.tar.gz
emacs-58b356e9b58dcfc876e6ad7824ca4fd48be0da2e.zip
Tweak the previous doc fixes.
-rw-r--r--lisp/simple.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 129df1fd213..1811315b21f 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3503,9 +3503,9 @@ If nil, region-aware commands treat empty regions as inactive.
3503If non-nil, region-aware commands treat the region as active as 3503If non-nil, region-aware commands treat the region as active as
3504long as the mark is active, even if the region is empty. 3504long as the mark is active, even if the region is empty.
3505 3505
3506\"Region-aware\" commands are those that act on the region if it 3506Region-aware commands are those that act on the region if it is
3507is active and Transient Mark mode is enabled, and on the text 3507active and Transient Mark mode is enabled, and on the text near
3508near point otherwise." 3508point otherwise."
3509 :type 'boolean 3509 :type 'boolean
3510 :version "23.1" 3510 :version "23.1"
3511 :group 'editing-basics) 3511 :group 'editing-basics)
@@ -3526,10 +3526,10 @@ of `use-empty-active-region'; in that case, use `region-active-p'."
3526(defun region-active-p () 3526(defun region-active-p ()
3527 "Return t if Transient Mark mode is enabled and the mark is active. 3527 "Return t if Transient Mark mode is enabled and the mark is active.
3528 3528
3529Commands that act on the region if it is active and Transient 3529Most commands that act on the region if it is active and
3530Mark mode is enabled, and on the text near point otherwise, 3530Transient Mark mode is enabled, and on the text near point
3531should use `use-region-p' instead. That function checks the 3531otherwise, should use `use-region-p' instead. That function
3532value of `use-empty-active-region' as well." 3532checks the value of `use-empty-active-region' as well."
3533 (and transient-mark-mode mark-active)) 3533 (and transient-mark-mode mark-active))
3534 3534
3535(defvar mark-ring nil 3535(defvar mark-ring nil