summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-01-08 19:59:10 -0800
committerGlenn Morris <rgm@gnu.org>2013-01-08 19:59:10 -0800
commitc5ad92de10abe251165a21977b388d3e799660ac (patch)
treea4347d193442be3b3684224c47be42e87d80a424 /lisp/emacs-lisp
parent39a0786e1b37704c54dc1cce142b495856c2b13e (diff)
downloademacs-c5ad92de10abe251165a21977b388d3e799660ac.tar.gz
emacs-c5ad92de10abe251165a21977b388d3e799660ac.tar.bz2
emacs-c5ad92de10abe251165a21977b388d3e799660ac.zip
* emacs-lisp/trace.el (trace-function, trace-function-background): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/trace.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index 53d849cf744..3e55b7c88fa 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -254,7 +254,9 @@ 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!! The trace BUFFER will popup whenever FUNCTION is called.
Do not use this to trace functions that switch buffers or do any other
-display oriented stuff, use `trace-function-background' instead."
+display oriented stuff, use `trace-function-background' instead.
+
+To untrace a function, use `untrace-function' or `untrace-all'."
(interactive
(list
(intern (completing-read "Trace function: " obarray 'fboundp t))
@@ -271,7 +273,9 @@ 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'."
+BUFFER defaults to `trace-buffer'.
+
+To untrace a function, use `untrace-function' or `untrace-all'."
(interactive
(list
(intern