summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-04-21 08:55:41 +0000
committerRichard M. Stallman <rms@gnu.org>2007-04-21 08:55:41 +0000
commit3238cde3821612dcf072eeda720e20d8b817de30 (patch)
treebed17b50a915042b37498be84436ebe4bac6f88c /lisp/subr.el
parentfb2c06a3b9dabb7b443c47751385ac6afb7aed57 (diff)
downloademacs-3238cde3821612dcf072eeda720e20d8b817de30.tar.gz
(read-number): Doc fix.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
1 files changed, 3 insertions, 0 deletions
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