* lisp/simple.el (goto-line): Don't display default line number in the
authorJuri Linkov <juri@jurta.org>
Sun, 29 Jul 2012 18:11:42 +0000 (21:11 +0300)
committerJuri Linkov <juri@jurta.org>
Sun, 29 Jul 2012 18:11:42 +0000 (21:11 +0300)
commita5dcc929862f6727c71db5e45d8750f8c322c53b
tree3b90ef0f2fa1744cb28d8462b2b900cceac08dd2
parent7f259ae657fd3df9f7aef276fe0d83c2277d61bc
* lisp/simple.el (goto-line): Don't display default line number in the
prompt because it should be displayed by `read-number' (bug#9952).
Add the current line number to the defaults of `goto-line' to
allow its easier modification by users with `M-n' (bug#9201).

* lisp/subr.el (read-number): Support multiple default values like in
other minibuffer reading functions.  Replace `read' with
`string-to-number' for consistency with `number-to-string'.
lisp/ChangeLog
lisp/simple.el
lisp/subr.el