Mercurial > emacs
comparison lisp/emacs-lisp/trace.el @ 72586:6ad55ad9813c
(trace-function-background): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 31 Aug 2006 23:10:24 +0000 |
parents | 067115a6e738 |
children | 1d4b1a32fd66 c358d0861b16 |
comparison
equal
deleted
inserted
replaced
72585:effa5e13d289 | 72586:6ad55ad9813c |
---|---|
263 (trace-function-internal function buffer nil)) | 263 (trace-function-internal function buffer nil)) |
264 | 264 |
265 ;;;###autoload | 265 ;;;###autoload |
266 (defun trace-function-background (function &optional buffer) | 266 (defun trace-function-background (function &optional buffer) |
267 "Traces FUNCTION with trace output going quietly to BUFFER. | 267 "Traces FUNCTION with trace output going quietly to BUFFER. |
268 For every call of FUNCTION Lisp-style trace messages that display argument | 268 When this tracing is enabled, every call to FUNCTION writes |
269 and return values will be inserted into BUFFER. This function generates the | 269 a Lisp-style trace message (showing the arguments and return value) |
270 trace advice for FUNCTION and activates it together with any other advice | 270 into BUFFER. This function generates advice to trace FUNCTION |
271 there might be!! Trace output will quietly go to BUFFER without changing | 271 and activates it together with any other advice there might be. |
272 the window or buffer configuration at all." | 272 The trace output goes to BUFFER quietly, without changing |
273 the window or buffer configuration. | |
274 | |
275 BUFFER defaults to `trace-buffer'." | |
273 (interactive | 276 (interactive |
274 (list | 277 (list |
275 (intern | 278 (intern |
276 (completing-read "Trace function in background: " obarray 'fboundp t)) | 279 (completing-read "Trace function in background: " obarray 'fboundp t)) |
277 (read-buffer "Output to buffer: " trace-buffer))) | 280 (read-buffer "Output to buffer: " trace-buffer))) |