changeset 60744:660b45682e47

(goto-line): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 19 Mar 2005 14:24:38 +0000
parents 63bd34d5eb62
children 82892a53d9be
files lisp/simple.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Sat Mar 19 14:18:22 2005 +0000
+++ b/lisp/simple.el	Sat Mar 19 14:24:38 2005 +0000
@@ -735,9 +735,10 @@
 
 (defun goto-line (arg &optional buffer)
   "Goto line ARG, counting from line 1 at beginning of buffer.
-Normally, move point in the curren buffer.
-With just C-u as argument, move point in the most recently displayed
-other buffer, and switch to it.
+Normally, move point in the current buffer.
+With just \\[universal-argument] as argument, move point in the most recently
+displayed other buffer, and switch to it.  When called from Lisp code,
+the optional argument BUFFER specifies a buffer to switch to.
 
 If there's a number in the buffer at point, it is the default for ARG."
   (interactive