changeset 9343:ee9866892683

(goto-line): Call prefix-numeric-value.
author Richard M. Stallman <rms@gnu.org>
date Tue, 04 Oct 1994 22:57:42 +0000
parents fdccacaec145
children 43cf4ed3f5f0
files lisp/simple.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Tue Oct 04 22:55:50 1994 +0000
+++ b/lisp/simple.el	Tue Oct 04 22:57:42 1994 +0000
@@ -595,6 +595,7 @@
 (defun goto-line (arg)
   "Goto line ARG, counting from line 1 at beginning of buffer."
   (interactive "NGoto line: ")
+  (setq arg (prefix-numeric-value arg))
   (save-restriction
     (widen)
     (goto-char 1)