From: Michael Albinus Date: Tue, 23 Oct 2007 21:54:24 +0000 (+0000) Subject: * tramp.texi (Traces and Profiles): Simplify loop over X-Git-Tag: emacs-pretest-23.0.90~10106 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03b5badef899c9125306e203370f02037cc47cc0;p=emacs.git * tramp.texi (Traces and Profiles): Simplify loop over `trace-function-background'. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index b2abdb9527d..94ec52a8392 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,8 @@ +2007-10-23 Michael Albinus + + * tramp.texi (Traces and Profiles): Simplify loop over + `trace-function-background'. + 2007-10-22 Juri Linkov * dired-x.texi (Shell Command Guessing): Default values are now diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 7a3cc923e95..2e37c2206c9 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -3288,9 +3288,8 @@ function call traces. Such traces are enabled by the following code: @lisp (require 'tramp) (require 'trace) -(mapcar 'trace-function-background - (mapcar 'intern - (all-completions "tramp-" obarray 'functionp))) +(dolist (elt (all-completions "tramp-" obarray 'functionp)) + (trace-function-background (intern elt))) (untrace-function 'tramp-read-passwd) (untrace-function 'tramp-gw-basic-authentication) @end lisp