aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-04-21 08:55:41 +0000
committerRichard M. Stallman2007-04-21 08:55:41 +0000
commit3238cde3821612dcf072eeda720e20d8b817de30 (patch)
treebed17b50a915042b37498be84436ebe4bac6f88c
parentfb2c06a3b9dabb7b443c47751385ac6afb7aed57 (diff)
downloademacs-3238cde3821612dcf072eeda720e20d8b817de30.tar.gz
emacs-3238cde3821612dcf072eeda720e20d8b817de30.zip
(read-number): Doc fix.
-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)."
1719 1719
1720;; This should be used by `call-interactively' for `n' specs. 1720;; This should be used by `call-interactively' for `n' specs.
1721(defun read-number (prompt &optional default) 1721(defun read-number (prompt &optional default)
1722 "Read a numeric value in the minibuffer, prompting with PROMPT.
1723DEFAULT specifies a default value to return if the user just types RET.
1724The value of DEFAULT is inserted into PROMPT."
1722 (let ((n nil)) 1725 (let ((n nil))
1723 (when default 1726 (when default
1724 (setq prompt 1727 (setq prompt