diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-01-11 18:03:04 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-01-11 18:03:04 -0500 |
commit | ab7c80f1b852315bee704ff2c9a80aa273cb636a (patch) | |
tree | aa7be17403e6aa72fd58288398796f388550fb6d | |
parent | c88be99696aa39e3aed1e32ada7bf6e0cc472c90 (diff) | |
download | emacs-ab7c80f1b852315bee704ff2c9a80aa273cb636a.tar.gz |
*** empty log message ***
-rw-r--r-- | lisp/emacs-lisp/trace.el | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el index 7a9eb3e1b28..fb1b995be2b 100644 --- a/lisp/emacs-lisp/trace.el +++ b/lisp/emacs-lisp/trace.el @@ -167,6 +167,8 @@ some global variables)." (mapconcat 'char-to-string (make-string (1- level) ?|) " ") (if (> level 1) " " "") level + ;; FIXME: Make it so we can click the function name to jump to its + ;; definition and/or untrace it. (cons function args) context))) @@ -275,16 +277,8 @@ To untrace a function, use `untrace-function' or `untrace-all'." ;;;###autoload (defun trace-function-background (function &optional buffer context) "Traces FUNCTION with trace output going quietly to BUFFER. -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'. - -To untrace a function, use `untrace-function' or `untrace-all'." +Like `trace-function-foreground' but without popping up the trace BUFFER or +changing the window configuration." (interactive (trace--read-args "Trace function in background: ")) (trace-function-internal function buffer t context)) |