diff options
| -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)." | |||
| 167 | (mapconcat 'char-to-string (make-string (1- level) ?|) " ") | 167 | (mapconcat 'char-to-string (make-string (1- level) ?|) " ") |
| 168 | (if (> level 1) " " "") | 168 | (if (> level 1) " " "") |
| 169 | level | 169 | level |
| 170 | ;; FIXME: Make it so we can click the function name to jump to its | ||
| 171 | ;; definition and/or untrace it. | ||
| 170 | (cons function args) | 172 | (cons function args) |
| 171 | context))) | 173 | context))) |
| 172 | 174 | ||
| @@ -275,16 +277,8 @@ To untrace a function, use `untrace-function' or `untrace-all'." | |||
| 275 | ;;;###autoload | 277 | ;;;###autoload |
| 276 | (defun trace-function-background (function &optional buffer context) | 278 | (defun trace-function-background (function &optional buffer context) |
| 277 | "Traces FUNCTION with trace output going quietly to BUFFER. | 279 | "Traces FUNCTION with trace output going quietly to BUFFER. |
| 278 | When this tracing is enabled, every call to FUNCTION writes | 280 | Like `trace-function-foreground' but without popping up the trace BUFFER or |
| 279 | a Lisp-style trace message (showing the arguments and return value) | 281 | changing the window configuration." |
| 280 | into BUFFER. This function generates advice to trace FUNCTION | ||
| 281 | and activates it together with any other advice there might be. | ||
| 282 | The trace output goes to BUFFER quietly, without changing | ||
| 283 | the window or buffer configuration. | ||
| 284 | |||
| 285 | BUFFER defaults to `trace-buffer'. | ||
| 286 | |||
| 287 | To untrace a function, use `untrace-function' or `untrace-all'." | ||
| 288 | (interactive (trace--read-args "Trace function in background: ")) | 282 | (interactive (trace--read-args "Trace function in background: ")) |
| 289 | (trace-function-internal function buffer t context)) | 283 | (trace-function-internal function buffer t context)) |
| 290 | 284 | ||