emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/etc NEWS


From: Chong Yidong
Subject: [Emacs-diffs] emacs/etc NEWS
Date: Thu, 27 Nov 2008 17:08:45 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/11/27 17:08:45

Modified files:
        etc            : NEWS 

Log message:
        Explain why region-active-p is often not the best function to use.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/etc/NEWS?cvsroot=emacs&r1=1.1943&r2=1.1944

Patches:
Index: NEWS
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS,v
retrieving revision 1.1943
retrieving revision 1.1944
diff -u -b -r1.1943 -r1.1944
--- NEWS        27 Nov 2008 09:14:15 -0000      1.1943
+++ NEWS        27 Nov 2008 17:08:44 -0000      1.1944
@@ -1244,9 +1244,10 @@
 an active region that they should operate on.
 
 *** `region-active-p' returns non-nil when Transient Mark mode is
-enabled and there is an active region.  This is NOT the best function
-to use to test whether a command should operate on the region instead
-of the usual behavior -- for that, use `use-region-p'.
+enabled and the mark is active.  Most commands that act specially on
+the active region in Transient Mark mode should use `use-region-p'
+instead of `region-active-p', because `use-region-p' obeys the new
+user option `use-empty-active-region' (see Editing Changes, above).
 
 +++
 *** If a command sets `transient-mark-mode' to (only . OLDVAL), that




reply via email to

[Prev in Thread] Current Thread [Next in Thread]