Commit 5f1a943c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(goto-line): Call prefix-numeric-value.

parent 701ca6c0
......@@ -595,6 +595,7 @@ Get previous element of history which is a completion of minibuffer contents."
(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)
......
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