emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100002: * simple.el (beginning-of


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100002: * simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).
Date: Thu, 26 Aug 2010 11:09:45 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100002
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Thu 2010-08-26 11:09:45 -0400
message:
  * simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).
modified:
  lisp/ChangeLog
  lisp/simple.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-23 00:44:55 +0000
+++ b/lisp/ChangeLog    2010-08-26 15:09:45 +0000
@@ -1,3 +1,8 @@
+2010-08-26  Chong Yidong  <address@hidden>
+
+       * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
+       (Bug#6907).
+
 2010-08-23  Chris Foote <address@hidden>  (tiny change)
 
        * progmodes/python.el (python-block-pairs): Allow use of "finally"

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2010-08-14 23:21:40 +0000
+++ b/lisp/simple.el    2010-08-26 15:09:45 +0000
@@ -784,15 +784,16 @@
        (constrain-to-field nil orig-pos t)))))
 
 (defun beginning-of-buffer (&optional arg)
-  "Move point to the beginning of the buffer; leave mark at previous position.
-With \\[universal-argument] prefix, do not set mark at previous position.
+  "Move point to the beginning of the buffer.
 With numeric arg N, put point N/10 of the way from the beginning.
+If the buffer is narrowed, this command uses the beginning of the
+accessible part of the buffer.
 
-If the buffer is narrowed, this command uses the beginning and size
-of the accessible part of the buffer.
+If Transient Mark mode is disabled, leave mark at previous
+position, unless a \\[universal-argument] prefix is supplied.
 
 Don't use this command in Lisp programs!
-\(goto-char (point-min)) is faster and avoids clobbering the mark."
+\(goto-char (point-min)) is faster."
   (interactive "^P")
   (or (consp arg)
       (region-active-p)
@@ -809,15 +810,16 @@
   (if (and arg (not (consp arg))) (forward-line 1)))
 
 (defun end-of-buffer (&optional arg)
-  "Move point to the end of the buffer; leave mark at previous position.
-With \\[universal-argument] prefix, do not set mark at previous position.
+  "Move point to the end of the buffer.
 With numeric arg N, put point N/10 of the way from the end.
+If the buffer is narrowed, this command uses the end of the
+accessible part of the buffer.
 
-If the buffer is narrowed, this command uses the beginning and size
-of the accessible part of the buffer.
+If Transient Mark mode is disabled, leave mark at previous
+position, unless a \\[universal-argument] prefix is supplied.
 
 Don't use this command in Lisp programs!
-\(goto-char (point-max)) is faster and avoids clobbering the mark."
+\(goto-char (point-max)) is faster."
   (interactive "^P")
   (or (consp arg) (region-active-p) (push-mark))
   (let ((size (- (point-max) (point-min))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]