]> git.eshelyaron.com Git - emacs.git/commitdiff
* tramp.texi (Traces and Profiles): Simplify loop over
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 23 Oct 2007 21:54:24 +0000 (21:54 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 23 Oct 2007 21:54:24 +0000 (21:54 +0000)
`trace-function-background'.

doc/misc/ChangeLog
doc/misc/tramp.texi

index b2abdb9527df668c75719f2b5bf8ff8c2b1e7d09..94ec52a83922d0bf482d4ce0c2687a0b12289ca7 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       * tramp.texi (Traces and Profiles): Simplify loop over
+       `trace-function-background'.
+
 2007-10-22  Juri Linkov  <juri@jurta.org>
 
        * dired-x.texi (Shell Command Guessing): Default values are now
index 7a3cc923e95dce886eb68a08ed24d0c3eff393fa..2e37c2206c958552758dfe59ae62fb937d4df60d 100644 (file)
@@ -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