Commit 8d9f4291 authored by Chong Yidong's avatar Chong Yidong
Browse files

* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).

parent 9027027d
2010-08-26 Chong Yidong <cyd@stupidchicken.com>
* simple.el (beginning-of-buffer, end-of-buffer): Doc fix
(Bug#6907).
2010-08-23 Chris Foote <chris@foote.com.au> (tiny change) 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
* progmodes/python.el (python-block-pairs): Allow use of "finally" * progmodes/python.el (python-block-pairs): Allow use of "finally"
......
...@@ -784,15 +784,16 @@ If BACKWARD-ONLY is non-nil, only delete them before point." ...@@ -784,15 +784,16 @@ If BACKWARD-ONLY is non-nil, only delete them before point."
(constrain-to-field nil orig-pos t))))) (constrain-to-field nil orig-pos t)))))
(defun beginning-of-buffer (&optional arg) (defun beginning-of-buffer (&optional arg)
"Move point to the beginning of the buffer; leave mark at previous position. "Move point to the beginning of the buffer.
With \\[universal-argument] prefix, do not set mark at previous position.
With numeric arg N, put point N/10 of the way from the beginning. 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 If Transient Mark mode is disabled, leave mark at previous
of the accessible part of the buffer. position, unless a \\[universal-argument] prefix is supplied.
Don't use this command in Lisp programs! 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") (interactive "^P")
(or (consp arg) (or (consp arg)
(region-active-p) (region-active-p)
...@@ -809,15 +810,16 @@ Don't use this command in Lisp programs! ...@@ -809,15 +810,16 @@ Don't use this command in Lisp programs!
(if (and arg (not (consp arg))) (forward-line 1))) (if (and arg (not (consp arg))) (forward-line 1)))
(defun end-of-buffer (&optional arg) (defun end-of-buffer (&optional arg)
"Move point to the end of the buffer; leave mark at previous position. "Move point to the end of the buffer.
With \\[universal-argument] prefix, do not set mark at previous position.
With numeric arg N, put point N/10 of the way from the end. 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 If Transient Mark mode is disabled, leave mark at previous
of the accessible part of the buffer. position, unless a \\[universal-argument] prefix is supplied.
Don't use this command in Lisp programs! 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") (interactive "^P")
(or (consp arg) (region-active-p) (push-mark)) (or (consp arg) (region-active-p) (push-mark))
(let ((size (- (point-max) (point-min)))) (let ((size (- (point-max) (point-min))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment