aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 4104edd77fd..e4c4141ef5e 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -188,11 +188,16 @@ DEFUN ("point-marker", Fpoint_marker, Spoint_marker, 0, 0, 0,
188 return build_marker (current_buffer, PT, PT_BYTE); 188 return build_marker (current_buffer, PT, PT_BYTE);
189} 189}
190 190
191DEFUN ("goto-char", Fgoto_char, Sgoto_char, 1, 1, "NGoto char: ", 191DEFUN ("goto-char", Fgoto_char, Sgoto_char, 1, 1,
192 "(goto-char--read-natnum-interactive \"Go to char: \")",
192 doc: /* Set point to POSITION, a number or marker. 193 doc: /* Set point to POSITION, a number or marker.
193Beginning of buffer is position (point-min), end is (point-max). 194Beginning of buffer is position (point-min), end is (point-max).
194 195
195The return value is POSITION. */) 196The return value is POSITION.
197
198If called interactively, a numeric prefix argument specifies
199POSITION; without a numeric prefix argument, read POSITION from the
200minibuffer. The default value is the number at point (if any). */)
196 (register Lisp_Object position) 201 (register Lisp_Object position)
197{ 202{
198 if (MARKERP (position)) 203 if (MARKERP (position))