aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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