aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2011-11-14 19:38:10 -0500
committerGlenn Morris <[email protected]>2011-11-14 19:38:10 -0500
commit947cd66b9611a5c4c4eb60238022e72fe51e2e46 (patch)
treee6af6dafdb2296ab1e7001e091eda91d02a68c52 /lisp
parent447f30f64b9269fa71faaa2dedf6b1f3957516fe (diff)
* lisp/simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/simple.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a6d4901542..dcd72b8a5f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2011-11-15 Glenn Morris <[email protected]>
+ * 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 82d82bc724..333ff996ec 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."