unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* with-timeout, docstring does not explain LIST arg
@ 2005-07-03 11:35 Lennart Borgman
  2005-07-03 15:46 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman @ 2005-07-03 11:35 UTC (permalink / raw)


The docstring does not explicitly explain the LIST argument.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: with-timeout, docstring does not explain LIST arg
  2005-07-03 11:35 with-timeout, docstring does not explain LIST arg Lennart Borgman
@ 2005-07-03 15:46 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2005-07-03 15:46 UTC (permalink / raw)
  Cc: emacs-devel

On 7/3/05, Lennart Borgman <lennart.borgman.073@student.lu.se> wrote:
> The docstring does not explicitly explain the LIST argument.

The docstring should look like this.

-- 
                    /L/e/k/t/u



Index: lisp/emacs-lisp/timer.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/timer.el,v
retrieving revision 1.5
diff -u -2 -r1.5 timer.el
--- lisp/emacs-lisp/timer.el	9 Feb 2005 15:50:40 -0000	1.5
+++ lisp/emacs-lisp/timer.el	3 Jul 2005 15:44:23 -0000
@@ -409,10 +409,9 @@
   "Run BODY, but if it doesn't finish in SECONDS seconds, give up.
 If we give up, we run the TIMEOUT-FORMS and return the value of the last one.
-The call should look like:
- (with-timeout (SECONDS TIMEOUT-FORMS...) BODY...)
 The timeout is checked whenever Emacs waits for some kind of external
-event \(such as keyboard input, input from subprocesses, or a certain time);
+event (such as keyboard input, input from subprocesses, or a certain time);
 if the program loops without waiting in any way, the timeout will not
-be detected."
+be detected.
+\n(fn (SECONDS TIMEOUT-FORMS...) BODY)"
   (let ((seconds (car list))
 	(timeout-forms (cdr list)))

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-03 15:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-03 11:35 with-timeout, docstring does not explain LIST arg Lennart Borgman
2005-07-03 15:46 ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).