summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-08-31 23:10:24 +0000
committerRichard M. Stallman <rms@gnu.org>2006-08-31 23:10:24 +0000
commit5b061d28eb0ceea29ce05f7769ab65a6a978fcd5 (patch)
tree8bd0ce1d6ebebc84e214fa0b710d1a04582c47d9 /lisp/emacs-lisp/trace.el
parent80e0572b0e377ce850179f20700a9dd44e5d8b67 (diff)
downloademacs-5b061d28eb0ceea29ce05f7769ab65a6a978fcd5.tar.gz
(trace-function-background): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
-rw-r--r--lisp/emacs-lisp/trace.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index 1ebf1186c2d..191be58c0b5 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -265,11 +265,14 @@ display oriented stuff, use `trace-function-background' instead."
;;;###autoload
(defun trace-function-background (function &optional buffer)
"Traces FUNCTION with trace output going quietly to BUFFER.
-For every call of FUNCTION Lisp-style trace messages that display argument
-and return values will be inserted into BUFFER. This function generates the
-trace advice for FUNCTION and activates it together with any other advice
-there might be!! Trace output will quietly go to BUFFER without changing
-the window or buffer configuration at all."
+When this tracing is enabled, every call to FUNCTION writes
+a Lisp-style trace message (showing the arguments and return value)
+into BUFFER. This function generates advice to trace FUNCTION
+and activates it together with any other advice there might be.
+The trace output goes to BUFFER quietly, without changing
+the window or buffer configuration.
+
+BUFFER defaults to `trace-buffer'."
(interactive
(list
(intern