changeset 77359:d57bf0ca865e

(read-number): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Apr 2007 08:55:41 +0000
parents 9f725c1d891f
children 467b5b7572bd
files lisp/subr.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Sat Apr 21 08:55:15 2007 +0000
+++ b/lisp/subr.el	Sat Apr 21 08:55:41 2007 +0000
@@ -1719,6 +1719,9 @@
 
 ;; This should be used by `call-interactively' for `n' specs.
 (defun read-number (prompt &optional default)
+  "Read a numeric value in the minibuffer, prompting with PROMPT.
+DEFAULT specifies a default value to return if the user just types RET.
+The value of DEFAULT is inserted into PROMPT."
   (let ((n nil))
     (when default
       (setq prompt