diff lisp/subr.el @ 77359:d57bf0ca865e

(read-number): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Apr 2007 08:55:41 +0000
parents 055a54275ec3
children 954d7a5a16f6
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