* src/fns.c (Fyes_or_no_p): Add usage.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 8 Jan 2011 13:32:31 +0000 (14:32 +0100)
src/ChangeLog
src/fns.c

index 1e38db4..aad0050 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * fns.c (Fyes_or_no_p): Add usage.
+
 2011-01-08  Glenn Morris  <rgm@gnu.org>
 
        * makefile.w32-in ($(EMACS)):
index 3282b30..ddc193d 100644 (file)
--- 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;