From: Charles A. Roelli Date: Sun, 11 Mar 2018 10:25:01 +0000 (+0100) Subject: * lisp/simple.el (mark-whole-buffer): Clarify its behavior. X-Git-Tag: emacs-27.0.90~5513 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9bef4ef45732d2f2e2a917dcd5659fb1767a0e5d;p=emacs.git * lisp/simple.el (mark-whole-buffer): Clarify its behavior. --- diff --git a/lisp/simple.el b/lisp/simple.el index 60a00286f89..fa93cf87c7a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1130,6 +1130,7 @@ the actual saved text might be different from what was killed." (defun mark-whole-buffer () "Put point at beginning and mark at end of buffer. +Also push mark at point before pushing 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