changeset 51413:d40ff6314d84

(Fsit_for): Don't lie about the number of args.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 02 Jun 2003 20:39:12 +0000
parents 8ccdada8f678
children bcc01b458b48
files src/dispnew.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Mon Jun 02 19:50:05 2003 +0000
+++ b/src/dispnew.c	Mon Jun 02 20:39:12 2003 +0000
@@ -6265,7 +6265,10 @@
 Where the optional arg MILLISECONDS specifies an additional wait period,
 in milliseconds; this was useful when Emacs was built without
 floating point support.
-usage: (sit-for SECONDS &optional NODISP) */)
+usage: (sit-for SECONDS &optional NODISP OLD-NODISP) */)
+
+/* The `old-nodisp' stuff is there so that the arglist has the correct
+   length.  Otherwise, `defdvice' will redefine it with fewer args.  */
      (seconds, milliseconds, nodisp)
      Lisp_Object seconds, milliseconds, nodisp;
 {