From: Richard M. Stallman Date: Sat, 21 Apr 2007 08:55:41 +0000 (+0000) Subject: (read-number): Doc fix. X-Git-Tag: emacs-pretest-22.0.99~124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3238cde3821612dcf072eeda720e20d8b817de30;p=emacs.git (read-number): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index db69a3f6f5b..fac2398a795 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1719,6 +1719,9 @@ by doing (clear-string STRING)." ;; 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