emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/simple.el,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/simple.el,v
Date: Tue, 25 Dec 2007 23:00:52 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       07/12/25 23:00:52

Index: simple.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/simple.el,v
retrieving revision 1.895
retrieving revision 1.896
diff -u -b -r1.895 -r1.896
--- simple.el   25 Dec 2007 22:43:44 -0000      1.895
+++ simple.el   25 Dec 2007 23:00:51 -0000      1.896
@@ -3378,7 +3378,10 @@
        (or use-empty-active-region (> (region-end) (region-beginning)))))
 
 (defun region-active-p ()
-  "Return t if Transient Mark mode is enabled and the mark is active."
+  "Return t if Transient Mark mode is enabled and the mark is active.
+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'."
   (and transient-mark-mode mark-active))
 
 (defvar mark-ring nil




reply via email to

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