From: Glenn Morris Date: Tue, 15 Nov 2011 00:38:10 +0000 (-0500) Subject: * lisp/simple.el (mark-whole-buffer): Doc fix. (Bug#10023) X-Git-Tag: emacs-pretest-24.0.92~183 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=947cd66b9611a5c4c4eb60238022e72fe51e2e46;p=emacs.git * lisp/simple.el (mark-whole-buffer): Doc fix. (Bug#10023) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6d49015422..dcd72b8a5fb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2011-11-15 Glenn Morris + * simple.el (mark-whole-buffer): Doc fix. (Bug#10023) + * mail/rmailout.el (rmail-output-to-rmail-buffer): Handle empty buffers. (Bug#9978) diff --git a/lisp/simple.el b/lisp/simple.el index 82d82bc7240..333ff996ec8 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -878,6 +878,7 @@ KILLFLAG is set if N was explicitly specified." (defun mark-whole-buffer () "Put point at beginning and mark at end of buffer. +If narrowing is in effect, only uses the accessible part of the buffer. You probably should not use this function in Lisp programs; it is usually a mistake for a Lisp function to use any subroutine that uses or sets the mark."