* lisp/simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
authorGlenn Morris <rgm@gnu.org>
Tue, 15 Nov 2011 00:38:10 +0000 (19:38 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 15 Nov 2011 00:38:10 +0000 (19:38 -0500)
lisp/ChangeLog
lisp/simple.el

index a6d4901..dcd72b8 100644 (file)
@@ -1,5 +1,7 @@
 2011-11-15  Glenn Morris  <rgm@gnu.org>
 
+       * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
+
        * mail/rmailout.el (rmail-output-to-rmail-buffer):
        Handle empty buffers.  (Bug#9978)
 
index 82d82bc..333ff99 100644 (file)
@@ -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."