summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-03-19 14:24:38 +0000
committerEli Zaretskii <eliz@gnu.org>2005-03-19 14:24:38 +0000
commit84bfc1647586ad3195fd1708f5eb9f85d43336d3 (patch)
tree640e123d7e32ef85e4d6dc3d58a76f536e0d4cee
parentfdd82b08248dc3f4684ec314162fcf38a241bf51 (diff)
downloademacs-84bfc1647586ad3195fd1708f5eb9f85d43336d3.tar.gz
(goto-line): Doc fix.
-rw-r--r--lisp/simple.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 1a76c1a852e..aa0724e87d8 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -735,9 +735,10 @@ that uses or sets the mark."
(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