emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interactive specs of C functions.


From: Richard Stallman
Subject: Re: Interactive specs of C functions.
Date: Sat, 08 Sep 2007 15:48:01 -0400

    Indeed.  How 'bout the patch below?

    -  if (SUBRP (fun))
    -    {
    -      string = (unsigned char *) XSUBR (fun)->prompt;
    -      if (!string)
    -   {
    -   lose:
    -     wrong_type_argument (Qcommandp, function);
    -   }

That would be a slowdown in very important cases.  It would be better
to keep that code, but have it fall through when it doesn't find an
interactive string in the special way, into the general case.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]