X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lisp%2Fcmdloop.el;h=269fa4041b8f5a05c50244bbcbd64aec190006a9;hp=17989d00ccd5eb9ee73fcd2f8383048208483f34;hb=5378ab6d2bb24fd8d39025be1574d406cf91f141;hpb=59eec5f21669e81977b5b1fe9bf717cab49cf7fb diff --git a/lisp/cmdloop.el b/lisp/cmdloop.el index 17989d0..269fa40 100644 --- a/lisp/cmdloop.el +++ b/lisp/cmdloop.el @@ -391,7 +391,7 @@ when called from Lisp." ; (call-interactively _command _record-flag))))) (defun y-or-n-p-minibuf (prompt) - "Ask user a \"y or n\" question. Return t if answer is \"y\". + "Ask user a \"y or n\" question. Return t if answer is \"y\", nil if \"n\". Takes one argument, which is the string to display to ask the question. It should end in a space; `y-or-n-p' adds `(y or n) ' to it. No confirmation of the answer is requested; a single character is enough. @@ -474,7 +474,7 @@ and can edit it until it as been confirmed." (yes-or-no-p-minibuf prompt))) (defun y-or-n-p (prompt) - "Ask user a \"y or n\" question. Return t if answer is \"y\". + "Ask user a \"y or n\" question. Return t if answer is \"y\", nil if \"n\". Takes one argument, which is the string to display to ask the question. The question is asked with a dialog box or the minibuffer, as appropriate. It should end in a space; `y-or-n-p' adds `(y or n) ' to it.