From 3238cde3821612dcf072eeda720e20d8b817de30 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 Apr 2007 08:55:41 +0000 Subject: [PATCH] (read-number): Doc fix. --- lisp/subr.el | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2