From 0d23ffb5f840ff2d4d7180fa959af067276c3c56 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 8 Jan 2011 14:32:31 +0100 Subject: [PATCH] * src/fns.c (Fyes_or_no_p): Add usage. --- src/ChangeLog | 4 ++++ src/fns.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1e38db4fd61..aad0050f0bd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-01-08 Andreas Schwab + + * fns.c (Fyes_or_no_p): Add usage. + 2011-01-08 Glenn Morris * makefile.w32-in ($(EMACS)): diff --git a/src/fns.c b/src/fns.c index 3282b300f49..ddc193d85e4 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1,7 +1,7 @@ /* Random utility Lisp functions. Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 + 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -2468,7 +2468,8 @@ The user must confirm the answer with RET, and can edit it until it has been confirmed. Under a windowing system a dialog box will be used if `last-nonmenu-event' -is nil, and `use-dialog-box' is non-nil. */) +is nil, and `use-dialog-box' is non-nil. +usage: (yes-or-no-p PROMPT &rest ARGS) */) (int nargs, Lisp_Object *args) { register Lisp_Object ans; -- 2.39.5