From 341e5f3c867f25c33a18dfe3e2ed369e6fb58c66 Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Tue, 24 Feb 2015 22:50:44 -0300 Subject: [PATCH] simple.el (region-active-p): Fix doc to say non-nil. --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b152a752115..76f9eb40194 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Artur Malabarba + + * simple.el (region-active-p): Fix doc to say non-nil. + 2015-02-24 Samer Masterson * eshell/em-hist.el (eshell-hist-parse-word-designator): diff --git a/lisp/simple.el b/lisp/simple.el index b78286dc83b..2f09042d817 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4865,7 +4865,7 @@ For some commands, it may be appropriate to ignore the value of (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 non-nil if Transient Mark mode is enabled and the mark is active. Some commands act specially on the region when Transient Mark mode is enabled. Usually, such commands should use -- 2.39.2